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

Francisco Robles Martín 1915396 at bugs.launchpad.net
Mon Feb 15 19:21:33 UTC 2021


Hi again Brian!

The content of /etc/lsb-release is in the first bug description (at the
top of this page.

The output of the command (I executed it with /etc/lsb-release as well)
are:

$ dpkg -S /etc/lsb-release.oem-release
diversion by oem-release from: /etc/lsb-release
diversion by oem-release to: /etc/lsb-release.oem-release


$ dpkg -S /etc/lsb-release
diversion by oem-release from: /etc/lsb-release
diversion by oem-release to: /etc/lsb-release.oem-release
base-files: /etc/lsb-release

-- 
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