* vendor/ubuntu/sources.list.in
---
# See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://us.archive.ubuntu.com/ubuntu &ubuntu-codename; main restricted
deb-src http://us.archive.ubuntu.com/ubuntu &ubuntu-codename; main restricted
From APT src code :
--- 1ubuntu2. 18/doc/ apt-verbatim. ent:<!ENTITY ubuntu-codename "trusty">
* trusty:
apt-1.0.
* xenial: 29/doc/ apt-verbatim. ent:<!ENTITY ubuntu-codename "trusty">
apt-1.2.
* bionic: 7/doc/apt- verbatim. ent:<!ENTITY ubuntu-codename "xenial">
apt-1.6.
* disco: 0~alpha3/ doc/apt- verbatim. ent:<!ENTITY ubuntu-codename "xenial">
apt-1.8.
---
* vendor/ ubuntu/ sources. list.in us.archive. ubuntu. com/ubuntu &ubuntu-codename; main restricted us.archive. ubuntu. com/ubuntu &ubuntu-codename; main restricted
---
# 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:// security. ubuntu. com/ubuntu &ubuntu- codename; -security main restricted security. ubuntu. com/ubuntu &ubuntu- codename; -security main restricted
deb-src http://
deb http:// us.archive. ubuntu. com/ubuntu &ubuntu- codename; -updates main restricted us.archive. ubuntu. com/ubuntu &ubuntu- codename; -updates main restricted
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. list.5. xml | grep -i verbatim
---
<!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> %aptverbatiment;
---
It also seems to affect the man page by mentionning 'xenial' for Bionic: manpages. ubuntu. com/manpages/ bionic/ man5/sources. list.5. html manpages. ubuntu. com/manpages/ bionic/ man5/apt_ preferences. 5.html
http://
http://