apt-mirror in all versions (including disco and last from github) doesn't mirror Commands-* files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-mirror (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
Triaged
|
High
|
Unassigned | ||
Eoan |
Won't Fix
|
High
|
Unassigned | ||
Focal |
Triaged
|
High
|
Unassigned | ||
Groovy |
Won't Fix
|
High
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[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/
deb http://
* sync the mirror using `apt-mirror`
* Attempt to run `apt update` against the mirror. The result will be similar to:
...
Err:7 http://
404 Not Found [IP: 10.3.0.41 80]
Ign:14 http://
Ign:15 http://
Ign:16 http://
Reading package lists... Done
E: Failed to fetch http://
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]
Upstream bug:
https:/
Not much update has been made since Upstream become inactive as noted from the output of rmadison:
Since Bionic, it is a simple copy from release to active devel release and so on directly from debian, no patching whatsoever and nothing new to pull from Debian as well.
----
Ubuntu
apt-mirror | 0.5.1-1ubuntu1 | xenial/universe | source, all
apt-mirror | 0.5.4-1 | bionic/universe | source, all
apt-mirror | 0.5.4-1 | disco/universe | source, all
apt-mirror | 0.5.4-1 | eoan/universe | source, all
apt-mirror | 0.5.4-1 | focal/universe | source, all
apt-mirror | 0.5.4-1 | groovy/universe | source, all
Debian
apt-mirror 0.5.4-1 is found in sid/unstable
---
The required patchset is from a fork of upstream apt-mirror josbraden/
Note that upstream apt-mirror is not active anymore, and is looking for a new maintainer as published in their github page: https:/
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-
0001-Replace-
0001-Fix-
0001-Improve-
0001-Remove-
0001-Fix-
I also talked with sil2100 (SRU verification team member) about the feasibilty of this SRU (from a fork repo):
"
<sil2100> Yeah, I'd say fixes from forked repositories in this case make sense Since there's no longer any 'one authority' for it.
"
summary: |
- apt-mirror in xenials doesn't mirror corrrectly Commands-amd64 file + apt-mirror in all versions (including disco and last from github) + doesn't mirror Commands-* files |
description: | updated |
description: | updated |
information type: | Public → Public Security |
information type: | Public Security → Public |
tags: | added: jammy |
seems that even using more recent apt-mirror perl script doesn't solve the problem, Commands files aren't mirrored.
any idea ?