[Bug 1725359] Re: release detection relies on lsb-release

Brian Murray brian at ubuntu.com
Wed Oct 25 18:07:21 UTC 2017


** Description changed:

- ubuntu-release-upgrader used lsb-release to determine the version of
+ ubuntu-release-upgrader uses lsb-release to determine the version of
  Ubuntu the system is running, however no double checking is done.  As we
  can see in bug 1725176, the user installed the version of lsb-release
  from Ubuntu 17.04 although they are running Ubuntu 16.10. The release-
  upgrader tries to upgrade them from zesty to artful but this fails as
  their /etc/apt/sources.list is full of yakkety entries and everything
  ends up being disabled.
  
  The release upgrader should likely confirm they either have their
  releases lsb-release installed or double check that their
  /etc/apt/sources.list matches the release lsb-release returns.
  
  I'll also use this as a tracking bug to find out how many people this is
  affecting.

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

Title:
  release detection relies on lsb-release

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

Bug description:
  ubuntu-release-upgrader uses lsb-release to determine the version of
  Ubuntu the system is running, however no double checking is done.  As
  we can see in bug 1725176, the user installed the version of lsb-
  release from Ubuntu 17.04 although they are running Ubuntu 16.10. The
  release-upgrader tries to upgrade them from zesty to artful but this
  fails as their /etc/apt/sources.list is full of yakkety entries and
  everything ends up being disabled.

  The release upgrader should likely confirm they either have their
  releases lsb-release installed or double check that their
  /etc/apt/sources.list matches the release lsb-release returns.

  I'll also use this as a tracking bug to find out how many people this
  is affecting.

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



More information about the foundations-bugs mailing list