[Bug 1725359] [NEW] release detection relies on lsb-release

Brian Murray brian at ubuntu.com
Fri Oct 20 16:10:28 UTC 2017


Public bug reported:

ubuntu-release-upgrader used 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.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: artful

** Summary changed:

- release detection depends on lsb-release 
+ release detection relies on lsb-release

** Tags added: artful

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

Bug description:
  ubuntu-release-upgrader used 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