[Bug 1800823] Re: _pythonSymlinkCheck does not work on cosmic+

Julian Andres Klode 1800823 at bugs.launchpad.net
Wed Oct 31 11:31:25 UTC 2018


*** This bug is a duplicate of bug 1799839 ***
    https://bugs.launchpad.net/bugs/1799839

** This bug has been marked a duplicate of bug 1799839
   not possible to use "Repair broken packages"

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

Title:
  _pythonSymlinkCheck does not work on cosmic+

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress
Status in ubuntu-release-upgrader source package in Cosmic:
  Triaged

Bug description:
  [Impact]
  _pythonSymlinkCheck() checks that python links to the default python version. In cosmic, python links to python2 however, so we need to check if that's the case, and then check what python2 links to.

  This breaks upgrades from cosmic to later versions, and partial
  upgrades on cosmic (that is, running _pythonSymlinkCheck).

  [Test case]
  Run /usr/lib/ubuntu-release-upgrader/do-partial-upgrade make sure it does not error out in the python symlink check, for example, by getting to the UI where it shows the upgrades.

  [Regression potential]
  Practically none for cosmic users, as the function currently is guaranteed to fail.

  When running the code on older releases (which happens due to the way
  release upgrading works), the code now allows python to symlink to
  python2, even where that is not the case in the packaging. But
  anything else would complicate the check a bit too much.

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



More information about the foundations-bugs mailing list