2019-03-21 21:37:56 |
Jamie Strandboge |
bug |
|
|
added bug |
2019-03-21 21:37:56 |
Jamie Strandboge |
attachment added |
|
debmirror-cnf.patch https://bugs.launchpad.net/bugs/1821251/+attachment/5248280/+files/debmirror-cnf.patch |
|
2019-03-22 00:23:26 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2019-03-22 13:25:46 |
Iain Lane |
attachment added |
|
extra https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/1821251/+attachment/5248502/+files/extra |
|
2019-03-22 22:39:18 |
Launchpad Janitor |
debmirror (Ubuntu): status |
New |
Confirmed |
|
2019-03-22 22:40:05 |
Brian Murray |
debmirror (Ubuntu): importance |
Undecided |
Medium |
|
2019-03-23 10:42:16 |
Colin Watson |
debmirror (Ubuntu): status |
Confirmed |
Fix Committed |
|
2019-04-20 09:45:21 |
Søren Bredlund Caspersen |
bug task added |
|
apt-mirror (Ubuntu) |
|
2019-04-20 11:40:33 |
Søren Bredlund Caspersen |
bug |
|
|
added subscriber Søren Bredlund Caspersen |
2019-09-09 04:21:43 |
Launchpad Janitor |
apt-mirror (Ubuntu): status |
New |
Confirmed |
|
2020-01-10 07:38:22 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto Murata |
2020-02-16 22:17:50 |
Jeffrey Paul |
bug |
|
|
added subscriber Jeffrey Paul |
2020-04-27 20:25:02 |
Frikkie Botha |
debmirror (Ubuntu): status |
Fix Committed |
Fix Released |
|
2020-05-04 16:52:16 |
Barry Price |
debmirror (Ubuntu): status |
Fix Released |
Fix Committed |
|
2020-07-21 13:55:49 |
Valters Jansons |
bug |
|
|
added subscriber Valters Jansons |
2020-07-21 23:33:58 |
Dimitri John Ledkov |
tags |
patch |
patch rls-ff-incoming |
|
2020-07-21 23:34:45 |
Dimitri John Ledkov |
debmirror (Ubuntu): status |
Fix Committed |
Triaged |
|
2020-07-21 23:34:51 |
Dimitri John Ledkov |
tags |
patch rls-ff-incoming |
patch rls-ff-incoming rls-gg-incoming |
|
2020-09-24 18:01:39 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2020-11-10 15:38:18 |
Dan Streetman |
tags |
patch rls-ff-incoming rls-gg-incoming |
patch rls-ff-incoming rls-gg-incoming seg |
|
2020-11-12 12:43:26 |
Dan Streetman |
tags |
patch rls-ff-incoming rls-gg-incoming seg |
patch rls-ff-incoming rls-gg-incoming seg sts-sponsor-volunteer |
|
2020-11-26 05:59:15 |
Launchpad Janitor |
debmirror (Ubuntu): status |
Triaged |
Fix Released |
|
2020-12-02 18:30:09 |
Dan Streetman |
tags |
patch rls-ff-incoming rls-gg-incoming seg sts-sponsor-volunteer |
patch rls-ff-incoming rls-gg-incoming seg |
|
2020-12-07 17:32:06 |
Łukasz Zemczak |
description |
Disco's apt started downloading cnf (command-not-found) files but debmirror does not download these files, so when pointing a disco machine at a mirrored archive, apt-get update errors. Eg, we need to mirror the Commands-*.xz files: http://archive.ubuntu.com/ubuntu/dists/disco/main/cnf/
The fix is straightforward since the files are quite similar to dep11, and debmirror already handles dep11. Here is a patch that simply copy/pastes the various dep11 code. It is lightly tested and appears to do the job. |
[Impact]
* Starting with Ubuntu Focal (20.04), the APT client expects APT sources to provide command-not-found (cnf) metadata files.
* This package provides package mirrors, however does not support mirroring this cnf metadata up until upstream version 1:2.32, which is later than the version in Focal (20.04) and Groovy (20.10).
* This upload cherry-picks upstream commits 292e9e9c, 39055366 and 9606535d, in order to add the cnf metadata support.
[Test Case]
* Create a mirror of e.g. `bionic main` and `focal main`: debmirror -d bionic,focal -s main --passive --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg --progress /opt/debmirror
* Serve the root directory of /opt/debmirror as webroot.
* Point APT `sources.list` at this webroot: deb http://mirror.example.com/ubuntu/ focal main
* Attempt to run `apt update` on Focal (20.04) client to see that it fails to obtain the cnf metadata.
* Optionally run `apt update` on Bionic (18.04) client to see that it works fine without the cnf metadata.
[Where problems could occur]
* New cnf files are expected to be created and maintained by the debmirror package. The regression risk for incorrectly downloading these files does not serve more harm than not downloading the files whatsoever (current state of 20.04 release), as the APT client does not use the mirror in either case.
* The change as uploaded was released in upstream as part of 1:2.32, tagged 23 Mar 2019, and is part of Debian stable. This serves as evidence of it having had testing carried out over time.
[Other Info]
Disco's apt started downloading cnf (command-not-found) files but debmirror does not download these files, so when pointing a disco machine at a mirrored archive, apt-get update errors. Eg, we need to mirror the Commands-*.xz files: http://archive.ubuntu.com/ubuntu/dists/disco/main/cnf/
The fix is straightforward since the files are quite similar to dep11, and debmirror already handles dep11. Here is a patch that simply copy/pastes the various dep11 code. It is lightly tested and appears to do the job. |
|
2020-12-07 17:37:31 |
Łukasz Zemczak |
debmirror (Ubuntu Groovy): status |
New |
Fix Committed |
|
2020-12-07 17:37:33 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-12-07 17:37:35 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2020-12-07 17:37:40 |
Łukasz Zemczak |
tags |
patch rls-ff-incoming rls-gg-incoming seg |
patch rls-ff-incoming rls-gg-incoming seg verification-needed verification-needed-groovy |
|
2020-12-07 17:38:36 |
Łukasz Zemczak |
debmirror (Ubuntu Focal): status |
New |
Fix Committed |
|
2020-12-07 17:38:42 |
Łukasz Zemczak |
tags |
patch rls-ff-incoming rls-gg-incoming seg verification-needed verification-needed-groovy |
patch rls-ff-incoming rls-gg-incoming seg verification-needed verification-needed-focal verification-needed-groovy |
|
2020-12-08 12:21:47 |
Valters Jansons |
tags |
patch rls-ff-incoming rls-gg-incoming seg verification-needed verification-needed-focal verification-needed-groovy |
patch rls-ff-incoming rls-gg-incoming seg verification-done-focal verification-needed verification-needed-groovy |
|
2020-12-13 12:00:31 |
Valters Jansons |
tags |
patch rls-ff-incoming rls-gg-incoming seg verification-done-focal verification-needed verification-needed-groovy |
patch rls-ff-incoming rls-gg-incoming seg verification-done verification-done-focal verification-done-groovy |
|
2020-12-14 18:24:11 |
Launchpad Janitor |
debmirror (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2020-12-14 18:24:17 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-12-14 18:37:30 |
Launchpad Janitor |
debmirror (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-10-01 05:18:08 |
Yoshi Kadokawa |
bug |
|
|
added subscriber Yoshi Kadokawa |
2021-12-09 15:38:22 |
Brian Murray |
bug task deleted |
apt-mirror (Ubuntu) |
|
|