[Bug 1915396] Re: /etc/lsb-release pointing to 18.04 after upgrade to 20.04

Francisco Robles Martín 1915396 at bugs.launchpad.net
Thu Feb 11 18:14:08 UTC 2021


Hi Brian! Thank to you for replying! :)

Yes, there is indeed. This is what I have in that file and the /etc
folder and relating to release as well:

fran at fran-xps:/etc $ ll | grep lsb
-rw-r--r--   1 root root      133 ene 14 23:23 lsb-release
-rw-r--r--   1 root root      104 ene 27 10:38 lsb-release.oem-release
fran at fran-xps:/etc $ cat lsb-release.oem-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
fran at fran-xps:/etc $ ll | grep release
-rw-r--r--   1 root root      133 ene 14 23:23 lsb-release
-rw-r--r--   1 root root      104 ene 27 10:38 lsb-release.oem-release
lrwxrwxrwx   1 root root       21 ene 27 10:40 os-release -> ../usr/lib/os-release
fran at fran-xps:/etc $ cat os-release 
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1915396

Title:
  /etc/lsb-release pointing to 18.04 after upgrade to 20.04

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  I have a Dell XPS 13 7390. It came with Ubuntu 18.04 LTS installed,
  and then I upgraded it to 20.04 LTS (20.04.2 LTS).

  I was installing git-lfs now, and thanks to the script they use to
  determine the OS (https://packagecloud.io/install/repositories/github
  /git-lfs/script.deb.sh detect_os function), I have found that in the
  file /etc/lsb-release, it still points to 18.04. This is the current
  content:

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS (beaver-three-eyed-raven X92)"

  Meanwhile, if I get the Ubuntu version with "lsb_release -a" command,
  I get:

  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 20.04.2 LTS
  Release:	20.04
  Codename:	focal

  Is this normal or there were some issue during the upgrade? Is the
  file /etc/lsb-release deprecated? Should I fill it with the current
  values or may I break something?

  Thank you in advance!
  Francisco Robles

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1915396/+subscriptions



More information about the foundations-bugs mailing list