[Bug 1571174] Re: package squid3 failed to install/upgrade: dependency problems - leaving triggers unprocessed

Launchpad Bug Tracker 1571174 at bugs.launchpad.net
Fri May 13 22:19:47 UTC 2016

This bug was fixed in the package squid3 - 3.5.12-1ubuntu7.1

squid3 (3.5.12-1ubuntu7.1) xenial; urgency=medium

  * Add Breaks on older ufw to fix upgrade path (LP: #1571174).

 -- Robie Basak <robie.basak at ubuntu.com>  Thu, 12 May 2016 11:03:06

** Changed in: squid3 (Ubuntu)
       Status: Invalid => Fix Released

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.

  package squid3 failed to install/upgrade: dependency problems -
  leaving triggers unprocessed

Status in dpkg package in Ubuntu:
Status in squid3 package in Ubuntu:
  Fix Released
Status in dpkg source package in Xenial:
  Fix Released
Status in squid3 source package in Xenial:
  Fix Committed

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/sources.list
  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/sources.list
  apt-get update
  systemctl mask systemd-sysctl.service  # workaround for LP: #1580984
  DEBIAN_FRONTEND=noninteractive apt-get -y -o DPkg::options::=--force-confnew dist-upgrade

  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/apt/archives/squid3_3.5.12-1ubuntu7_all.deb (--unpack):
   dependency problems - leaving triggers unprocessed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Cleanup after test:

  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
  ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
  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:squid3:3.3.8-1ubuntu16.2:dependency problems - leaving triggers unprocessed
  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)
   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.conffile..etc.apparmor.d.usr.sbin.squid3: [deleted]
  modified.conffile..etc.init.d.squid3: [deleted]
  modified.conffile..etc.init.squid3.conf: [deleted]
  modified.conffile..etc.logrotate.d.squid3: [deleted]
  modified.conffile..etc.resolvconf.update.libc.d.squid3: [deleted]
  modified.conffile..etc.squid3.errorpage.css: [deleted]
  modified.conffile..etc.squid3.msntauth.conf: [deleted]
  modified.conffile..etc.squid3.squid.conf: [deleted]
  modified.conffile..etc.ufw.applications.d.squid3: [deleted]

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list