apt does not configure Pre-Depends: before depending package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Martin Pitt | ||
Wily |
Fix Released
|
High
|
Nathanael | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Happened during upgrade to 16.04, don't know any more details.
--
SRU INFORMATION
===============
Fix: https:/
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-
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)
RelatedPackageV
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)
Related branches
tags: | removed: need-duplicate-check |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
Changed in apt (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in apt (Ubuntu): | |
status: | In Progress → Fix Committed |
summary: |
package systemd-sysv 225-1ubuntu9.1 failed to install/upgrade: - libgcrypt20 was unconfigured during 15.10 to 16.04 upgrade + libgcrypt20 was unconfigured during 15.10 to 16.04 upgrade (apt does not + configure Pre-Depends: correctly) |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in apt (Ubuntu Wily): | |
assignee: | Martin Pitt (pitti) → Nathanael (mnathanael26) |
Changed in apt (Ubuntu): | |
importance: | High → Medium |
importance: | Medium → High |
Status changed to 'Confirmed' because the bug affects multiple users.