APT doc and manpage uses wrong ubuntu-codename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Wishlist
|
Julian Andres Klode | ||
Xenial |
Fix Released
|
Wishlist
|
Julian Andres Klode | ||
Bionic |
Fix Released
|
Wishlist
|
Julian Andres Klode | ||
Cosmic |
Fix Released
|
Wishlist
|
Julian Andres Klode | ||
Disco |
Fix Released
|
Wishlist
|
Julian Andres Klode |
Bug Description
[Impact]
APT documentation/
which could be misleading for certain users.
---
APT src code:
---
[GOOD ubuntu-codename]
* trusty:
apt-1.0.
[WRONG ubuntu-codename]
* xenial:
apt-1.2.
* bionic:
apt-1.6.
* disco:
apt-1.8.
---
* vendor/
---
# See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
---
The ubuntu-codename variable for Xenial and late in APT points to 'trusty or 'xenial' which generate the doc example & manpage with the wrong release instead of the actual ubuntu-codename.
APT in Xenial point to 'trusty'.
APT in Bionic and late to 'xenial'
It also affect the man page:
Example took from Bionic:
http://
http://
[Test Case]
With Xenial and late:
* Look sources.list(5) manpage
Ex:
http://
* Look apt_preferences(5) manpage
Ex: http://
* Look /usr/share/
$ lsb_release -cs
bionic
$ cat /usr/share/
----------------
# See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
-------
You'll notice they all point to the wrong release.
While we understand it's not a "bug' and only a reference/
I think it's for the best interest of all if the examples/manpage reference the current release.
[Regression Potential]
* None, it only affect documentation/
[Other Info]
[Original Description]
From APT src code :
---
[GOOD ubuntu-codename]
* trusty:
apt-1.0.
[WRONG ubuntu-codename]
* xenial:
apt-1.2.
* bionic:
apt-1.6.
* disco:
apt-1.8.
---
* vendor/
---
# See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
---
The ubuntu-codename variable for Bionic and late in APT points to Xenial which generate the doc example with Xenial instead of the actual codename.
* ./doc/sources.
---
<!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> %aptverbatiment;
---
It also seems to affect the man page by mentionning 'xenial'.
Example took from Bionic:
http://
http://
CVE References
Changed in apt (Ubuntu Trusty): | |
importance: | Undecided → Wishlist |
Changed in apt (Ubuntu Xenial): | |
importance: | Undecided → Wishlist |
Changed in apt (Ubuntu Bionic): | |
importance: | Undecided → Wishlist |
Changed in apt (Ubuntu Cosmic): | |
importance: | Undecided → Wishlist |
Changed in apt (Ubuntu Disco): | |
importance: | Undecided → Wishlist |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in apt (Ubuntu Disco): | |
assignee: | nobody → Julian Andres Klode (juliank) |
description: | updated |
Changed in apt (Ubuntu Disco): | |
status: | New → In Progress |
Changed in apt (Ubuntu Cosmic): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in apt (Ubuntu Bionic): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in apt (Ubuntu Xenial): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in apt (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in apt (Ubuntu Cosmic): | |
status: | New → In Progress |
Changed in apt (Ubuntu Xenial): | |
status: | New → In Progress |
description: | updated |
no longer affects: | apt (Ubuntu Trusty) |
juliank will include the ubuntu-codename variable change in his next SRU later this week.
Thanks Juliank !