[Bug 1969960] Re: Jammy's /etc/os-release missing LTS string in VERSION
Brian Murray
1969960 at bugs.launchpad.net
Wed Apr 27 20:34:09 UTC 2022
...
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 base-files amd64 12ubuntu4.1 [62.8 kB]
Fetched 62.8 kB in 1s (123 kB/s)
The system does not support apt-btrfs-snapshot
(Reading database ... 454507 files and directories currently installed.)
Preparing to unpack .../base-files_12ubuntu4.1_amd64.deb ...
Unpacking base-files (12ubuntu4.1) over (12ubuntu4) ...
Setting up base-files (12ubuntu4.1) ...
motd-news.service is a disabled or a static unit not running, not starting it.
Processing triggers for cracklib-runtime (2.9.6-3.4build4) ...
...
$ grep VERSION /etc/os-release
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1969960
Title:
Jammy's /etc/os-release missing LTS string in VERSION
Status in base-files package in Ubuntu:
Fix Committed
Status in base-files source package in Jammy:
Fix Released
Bug description:
[Description]
In Jammy (base-files 12ubuntu4) we have:
$ grep VERSION= /etc/os-release
VERSION="22.04 (Jammy Jellyfish)"
but expected is:
VERSION="22.04 LTS (Jammy Jellyfish)"
Compare with Focal:
$ grep VERSION= /etc/os-release
VERSION="20.04.4 LTS (Focal Fossa)"
[Impact]
Having VERSION without LTS is inconsistent with the previous LTS
releases and is wrong, as the official name of the release is "22.04
LTS". This can confuse users.
Any script relying on VERSION to detect if the Ubuntu version it is
running on in an LTS won't be work as expected.
[Test Plan]
1. grep VERSION= /etc/os-release
2. check that it is: VERSION="22.04 LTS (Jammy Jellyfish)"
[Where problems could occur]
Software already packaged in Jammy may already have adapted to the
fact that VERSION doesn't have the LTS string in it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1969960/+subscriptions
More information about the foundations-bugs
mailing list