[Bug 1560797] Re: apt does not configure Pre-Depends: before depending package
Brian Murray
brian at ubuntu.com
Mon Apr 25 16:36:22 UTC 2016
If /usr/lib/ubuntu-release-upgrader/check-new-release-gtk is used, which
is called by the update-notifier release upgrade notification, the
upgrade can start without first upgrading the system (because update-
manager is by passed). It is possible to make ubuntu-release-upgrader
require certain packages be installed before starting the release
upgrade and it seems like we should require the new version of apt.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1560797
Title:
apt does not configure Pre-Depends: before depending package
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Trusty:
Fix Released
Status in apt source package in Wily:
Fix Released
Bug description:
Happened during upgrade to 16.04, don't know any more details.
--
SRU INFORMATION
===============
Fix: https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=c75e60eb (applied in Xenial last week)
Test case:
- Install clean wily amd64 desktop + install libgcrypt20:i386
- change apt sources to xenial, apt-get dist-upgrade
- with current apt, upgrade will often fail because systemd expects a configure libgcrypt20, or util-linux expects a configured libudev1 or similar, but these packages aren't configured.
- with the fixed apt, the upgrade should run smoothly.
Regression potential: Any bug here might potentially break package
installation or upgrades completely. That said, the fix is quite
obvious and has been in production in xenial for a week. Testing this
SRU should include several dist-upgrades as well as some normal
package installs in trusty/wily.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: systemd-sysv 225-1ubuntu9.1
Uname: Linux 4.4.5-040405-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Tue Mar 22 22:56:03 2016
ErrorMessage: pre-dependency problem - not installing systemd-sysv
InstallationDate: Installed on 2013-04-24 (1064 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1
apt 1.2.7
SourcePackage: systemd
Title: package systemd-sysv 225-1ubuntu9.1 failed to install/upgrade: pre-dependency problem - not installing systemd-sysv
UpgradeStatus: Upgraded to xenial on 2016-03-23 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1560797/+subscriptions
More information about the foundations-bugs
mailing list