[Bug 1485093] [NEW] python3-distupgrade contains symlink to externally owned directory

Barry Warsaw 1485093 at bugs.launchpad.net
Fri Aug 14 19:29:50 UTC 2015


Public bug reported:

python3-distupgrade contains the symlink /usr/lib/python3/dist-
packages/DistUpgrade/NvidiaDetector which symlinks to ../NvidiaDetector.
However /usr/lib/python3/dist-packages/NvidiaDetector is owned by
ubuntu-drivers-common.

This causes a problem with at least the pex DEP-8 tests because in
autopkgtest.ubuntu.com (and clean adt qemu images), python3-distupgrade
is installed but not ubuntu-drivers-common.  Thus when pex invokes
pkg_resources' get_resource_stream() you get a FileNotFound exception on
the former, i.e. dead, symlink.

Maybe python3-distupgrade should Depend on ubuntu-drivers-common, or
maybe the symlink itself should be owned by the latter package.  I don't
think the former should just leave a dangling symlink on the system.

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

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

Title:
  python3-distupgrade contains symlink to externally owned directory

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

Bug description:
  python3-distupgrade contains the symlink /usr/lib/python3/dist-
  packages/DistUpgrade/NvidiaDetector which symlinks to
  ../NvidiaDetector.  However /usr/lib/python3/dist-
  packages/NvidiaDetector is owned by ubuntu-drivers-common.

  This causes a problem with at least the pex DEP-8 tests because in
  autopkgtest.ubuntu.com (and clean adt qemu images),
  python3-distupgrade is installed but not ubuntu-drivers-common.  Thus
  when pex invokes pkg_resources' get_resource_stream() you get a
  FileNotFound exception on the former, i.e. dead, symlink.

  Maybe python3-distupgrade should Depend on ubuntu-drivers-common, or
  maybe the symlink itself should be owned by the latter package.  I
  don't think the former should just leave a dangling symlink on the
  system.

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



More information about the foundations-bugs mailing list