[Bug 1485093] Re: python3-distupgrade contains symlink to externally owned directory
Launchpad Bug Tracker
1485093 at bugs.launchpad.net
Tue Oct 27 21:51:15 UTC 2015
This bug was fixed in the package ubuntu-release-upgrader - 1:16.04.1
---------------
ubuntu-release-upgrader (1:16.04.1) xenial; urgency=medium
[ Barry Warsaw ]
* Don't try to import janitor and NvidiaDetector in a package relative
to this one, to avoid the possibility of dangling symlinks when the
packages actually containing these modules is not installed.
(LP: #1485093)
* debian/python3-distupgrade.links: Removed.
[ Brian Murray ]
* DistUpgrade/{EOL,}ReleaseAnnouncement,
DistUpgrade/DistUpgrade/window_main.ui,
data/gtkbuilder/DistUpgrade.ui,
data/DistUpgrade.cfg,
data/DistUpgrade.cfg.trusty,
pre-build.sh:
- updated for 15.10->16.04
* DistUpgrade/DistUpgradeQuirks.py: add in a quirk to ensure that a linux
metapackage is installed after the release upgrade. (LP: #1509305)
[ Michael Vogt ]
* DistUpgrade/DistUpgradeQuirks.py: improve linux metapackage check and add
a test for it.
-- Brian Murray <brian at ubuntu.com> Tue, 27 Oct 2015 13:45:19 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Triaged => Fix Released
--
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:
Fix Released
Status in ubuntu-release-upgrader source package in Wily:
Won't Fix
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