[Bug 1560797] Re: apt does not configure Pre-Depends: before depending package
Brian Murray
brian at ubuntu.com
Tue Apr 19 18:42:51 UTC 2016
I installed the version of apt from trusty-proposed and then completed
an upgrade from Trusty to Xenial using that version of apt with the
libgcrypt packages installed.
>From /var/log/dist-upgrade/apt-term.log we can see the following:
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...^M
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 232996 files and directories currently installed.)^M
Preparing to unpack .../libgcrypt20_1.6.5-2_i386.deb ...^M
Unpacking libgcrypt20:i386 (1.6.5-2) over (1.6.1-2ubuntu1.14.04.1) ...^M
Selecting previously unselected package libgcrypt20:amd64.^M
Preparing to unpack .../libgcrypt20_1.6.5-2_amd64.deb ...^M
Unpacking libgcrypt20:amd64 (1.6.5-2) ...^M
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...^M
Setting up libgcrypt20:amd64 (1.6.5-2) ...^M
Setting up libgcrypt20:i386 (1.6.5-2) ...^M
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...^M
Selecting previously unselected package libsystemd0:amd64.^M
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 232998 files and directories currently installed.)^M
Preparing to unpack .../libsystemd0_229-4ubuntu4_amd64.deb ...^M
Unpacking libsystemd0:amd64 (229-4ubuntu4) ...^M
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...^M
Setting up libsystemd0:amd64 (229-4ubuntu4) ...^M
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...^M
So that looks good for Trusty too.
** Tags removed: verification-needed
** Tags added: verification-done-trusty
--
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 Committed
Status in apt source package in Wily:
Fix Committed
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