Closed jawmn closed 8 months ago
Try the following parameters: -force-architectures -force-components
Example for bookworm-pgdg-archive:
$ aptly -architectures="amd64" -force-architectures -force-components mirror create "apt-archive.postgresql.org_bookworm-pgdg-archive" "https://apt-archive.postgresql.org/pub/repos/apt" "bookworm-pgdg-archive" main
$ aptly mirror update apt-archive.postgresql.org_bookworm-pgdg-archive
@RobertPilja thank you very much, it works!
It is seems that repository apt-archive.postgresql.org is somehow broken, but apt works with it without problems. Attempt to create mirror fails with error:
If component main is omitted, then mirror creates successfully, but attempt to update this mirror fails:
But when this repo added to sources.list everything works fine and apt can install packages from it:
Maybe there is a proper way to mirror this repository using aptly, which I do not know?