Jammy's /etc/os-release missing LTS string in VERSION

Bug #1969960 reported by Paride Legovini
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
Fix Released
Undecided
Paride Legovini
Jammy
Fix Released
Undecided
Paride Legovini

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.

Paride Legovini (paride)
Changed in base-files (Ubuntu):
assignee: nobody → Paride Legovini (paride)
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Paride, or anyone else affected,

Accepted base-files into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/base-files/12ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in base-files (Ubuntu Jammy):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Brian Murray (brian-murray) wrote :

...
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: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-files - 12ubuntu4.1

---------------
base-files (12ubuntu4.1) jammy; urgency=medium

  * /etc/os-release: add missing LTS to VERSION (LP: #1969960)

 -- Paride Legovini <email address hidden> Fri, 22 Apr 2022 16:34:19 +0200

Changed in base-files (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for base-files has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-files - 12ubuntu5

---------------
base-files (12ubuntu5) kinetic; urgency=medium

  * /etc/issue{,.net}, /etc/{lsb,os}-release: Welcome to Kinetic Kudu!

 -- Łukasz 'sil2100' Zemczak <email address hidden> Tue, 26 Apr 2022 17:47:05 +0200

Changed in base-files (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.