package squid3 failed to install/upgrade: dependency problems - leaving triggers unprocessed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
squid3 (Ubuntu) |
Fix Released
|
High
|
Robie Basak | ||
Xenial |
Fix Released
|
High
|
Robie Basak |
Bug Description
[ SRU Justification ]
Older versions of ufw had an interest-await trigger, causing trigger loops in some cases, especially the case of upgrading squid3.
The newer version fixed this, however if squid is upgraded first, that's no help.
[ Test Case ]
== In a wily chroot with updates/security enabled ==
apt-get install ufw squid3
sed -i -e 's/wily/xenial/g' /etc/apt/
apt-get update
apt-get dist-upgrade
== Repeat the above with xenial-proposed added before the upgrade ==
Should succeed if either squid or dpkg have been updated for the Breaks.
[ Test Case 2 ]
[racb] I noticed that this doesn't reproduce every time, so try it a few times.
Steps to reproduce:
lxc launch ubuntu:wily squid3-upgrade
lxc exec squid3-upgrade bash
apt-get update && apt-get -y dist-upgrade
apt-get install -y squid3 ufw
sed -i s/wily/xenial/g /etc/apt/
apt-get update
systemctl mask systemd-
DEBIAN_
Expected result: success
Actual result:
dpkg: dependency problems prevent processing triggers for ufw:
ufw depends on python3; however:
Package python3 is not configured yet.
ufw depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing archive /var/cache/
dependency problems - leaving triggers unprocessed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Cleanup after test:
exit
lxc delete -f squid3-upgrade
[ Original Report ]
During an upgrade from 15.10 to 16.04, upgrading squid3 erred out...
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: squid3 3.3.8-1ubuntu16.2
ProcVersionSign
Uname: Linux 4.2.0-34-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Sat Apr 16 05:33:51 2016
DuplicateSignature: package:
ErrorMessage: dependency problems - leaving triggers unprocessed
InstallationDate: Installed on 2015-12-07 (131 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageV
dpkg 1.18.4ubuntu1
apt 1.2.10ubuntu1
SourcePackage: squid3
Title: package squid3 3.3.8-1ubuntu16.2 failed to install/upgrade: dependency problems - leaving triggers unprocessed
UpgradeStatus: Upgraded to xenial on 2016-04-16 (0 days ago)
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
tags: | removed: need-duplicate-check |
Changed in squid3 (Ubuntu): | |
importance: | Undecided → High |
summary: |
- package squid3 3.3.8-1ubuntu16.2 failed to install/upgrade: dependency - problems - leaving triggers unprocessed + package squid3 failed to install/upgrade: dependency problems - leaving + triggers unprocessed |
Changed in dpkg (Ubuntu): | |
status: | New → Invalid |
description: | updated |
Changed in squid3 (Ubuntu Xenial): | |
assignee: | nobody → Robie Basak (racb) |
Continuing the upgrade with
apt-get -f install
apt-get dist-upgrade
completed without further errors.