Closed vk6xebec closed 6 months ago
Hi,
Looking into http://ports.ubuntu.com/ubuntu-ports/dists/mantic/main/, there is no amd64 architecture on that mirror. This is why aptly fails to download the Packages.gz.
Valid architectures of that mirror are arm64 and armhf for example:
$ aptly mirror create -architectures=armhf,arm64 ubuntu-mantic http://ports.ubuntu.com/ubuntu-ports/ mantic main
Downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/InRelease...
Success downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/InRelease
gpgv: can't allocate lock for '/var/lib/aptly/.gnupg/trustedkeys.gpg'
gpgv: Signature made Mon Oct 16 21:12:53 2023 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>"
Mirror [ubuntu-mantic]: http://ports.ubuntu.com/ubuntu-ports/ mantic successfully added.
You can run 'aptly mirror update ubuntu-mantic' to download repository contents.
$ aptly mirror update ubuntu-mantic
Downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/InRelease...
Success downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/InRelease
gpgv: can't allocate lock for '/var/lib/aptly/.gnupg/trustedkeys.gpg'
gpgv: Signature made Mon Oct 16 21:12:53 2023 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>"
Downloading & parsing package files...
Downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/main/binary-armhf/Packages.gz...
Success downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/main/binary-armhf/Packages.gz
Downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/main/binary-arm64/Packages.gz...
Success downloading http://ports.ubuntu.com/ubuntu-ports/dists/mantic/main/binary-arm64/Packages.gz
Building download queue...
Download queue: 9310 items (10.39 GiB)
Downloading http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mpg123/libmpg123-0_1.31.3-2_armhf.deb...
Hello, I am unable to get this working for Ubuntu Mantic amd64.
I have tried various workarounds but I am not getting any joy. Most of the articles are old (2016 or architectures such as ARM).
This is what I have done so far
aptly.conf file
I ran these commands:
aptly mirror create ubuntu-mantic http://ports.ubuntu.com/ubuntu-ports/ mantic main
aptly mirror update ubuntu-mantic
I have tried using
-architectures=i386,amd64 -force-components -wth-udebs=true
with no luck(PS, I would like to use this repo to mirror https://ftp.kaist.ac.kr/ubuntu-ports/dists/jammy/main/)
What could I do to make it work and avoid the 404 error? I cannot find any amd64 compatible folder on the mirrors, unlike Debian's Bookwork release.