[Bug 1560797] Re: apt does not configure Pre-Depends: before depending package
Brian Visel
aeon.descriptor at gmail.com
Wed Apr 27 22:48:55 UTC 2016
I am having this issue right now. Before updating, I did:
sudo apt-get-update
sudo apt-get dist-upgrade
..and then launched Software Updater.
However, it seems that the newest version of the software updater didn't
install for whatever reason. As the install is running, if I do:
$ apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
Installed: 1:15.10.14.4
Candidate: 1:16.04.14
Version table:
1:16.04.14 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
1:16.04.12 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
*** 1:15.10.14.4 100
100 /var/lib/dpkg/status
..so obviously the software updater somehow escaped getting updated, so
I got the version with the bug still.
--
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 ubuntu-release-upgrader package in Ubuntu:
Confirmed
Status in apt source package in Trusty:
Fix Released
Status in apt source package in Wily:
Fix Released
Status in apt source package in Xenial:
Fix Released
Status in ubuntu-release-upgrader source package in Xenial:
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