If other impacted users want to try the test package before moving forward with the SRU:
sudo add-apt-repository ppa:slashd/test sudo apt-get update sudo apt-get install apt-mirror ### version 0.5.4-1ubuntu0.18.04.1+testpkg20200428b2 - Eric ** Description changed: [Impact] * since ubuntu disco, main repositories contains 'cnf' directory with 'Commands*' files. those files are compressed with xy, whereas apt- mirror 0.5.1 doesn't contain the patch which enable download of .xz compressed files * Without this update, users are not able to mirror newer releases of Ubuntu. [Test Case] * On any release of Ubuntu install apt-mirror and add this line to /etc/apt/mirror.list: deb http://archive.ubuntu.com/ubuntu eoan-updates main restricted universe multiverse * sync the mirror using `apt-mirror` * Attempt to run `apt update` against the mirror. The result will be similar to: ... - Err:7 http://10.3.0.41/ubuntu eoan-updates/main amd64 c-n-f Metadata - 404 Not Found [IP: 10.3.0.41 80] - Ign:14 http://10.3.0.41/ubuntu eoan-updates/multiverse amd64 c-n-f Metadata - Ign:15 http://10.3.0.41/ubuntu eoan-updates/universe amd64 c-n-f Metadata - Ign:16 http://10.3.0.41/ubuntu eoan-updates/restricted amd64 c-n-f Metadata - Reading package lists... Done + Err:7 http://10.3.0.41/ubuntu eoan-updates/main amd64 c-n-f Metadata + 404 Not Found [IP: 10.3.0.41 80] + Ign:14 http://10.3.0.41/ubuntu eoan-updates/multiverse amd64 c-n-f Metadata + Ign:15 http://10.3.0.41/ubuntu eoan-updates/universe amd64 c-n-f Metadata + Ign:16 http://10.3.0.41/ubuntu eoan-updates/restricted amd64 c-n-f Metadata + Reading package lists... Done E: Failed to fetch http://10.3.0.41/ubuntu/dists/eoan-updates/main/cnf/Commands-amd64 404 Not Found [IP: 10.3.0.41 80] E: Some index files failed to download. They have been ignored, or old ones used instead. ... * Updating the apt-mirror package from ppa:slashd/test and then re- running the `apt-mirror` command will then allow a successful `apt update`. [Regression Potential] * The regression potential is low since the package doesn't currently work properly anyway. + + * It's a patchset from a fork repo, if apt-mirror upstream becomes alive + again in the future, it won't necessary mean that the fork will be + commited/merged upstream, and Ubuntu package might differ from original + upstream until next version bump. + + [Other informations] + + The required patchset is from a fork of upstream apt-mirror josbraden + /apt-mirror (https://github.com/josbraden/apt-mirror) + + Note that upstream apt-mirror is not active anymore, and is looking for + a new maintainer as published in their github page: https://github.com + /apt-mirror/apt-mirror + + That's why we have to rely on the fork atm. + + The required patchset are (tested by Chris in the form of a test pkg: + 0001-Copy-DEP-11-functions-for-editing.patch + 0001-Replace-DEP-11-with-cnf-in-DEP-11-code-copy.patch + 0001-Fix-Regex.patch + 0001-Improve-regex-for-cnf-file-matching.patch + 0001-Remove-dev-note.patch + 0001-Fix-missing-parenthesis.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825755 Title: apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/1825755/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs