Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers
- To: Niels Thykier <niels@thykier.net>, 864597@bugs.debian.org, Cyril Brulebois <kibi@debian.org>, lool@debian.org, ross@debian.org, Dmitry Smirnov <onlyjob@debian.org>, joss@debian.org, Emilio Pozuelo Monfort <pochu@debian.org>, pkg-freedesktop-maintainers@lists.alioth.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Guillem Jover <guillem@debian.org>, Matthias Klose <doko@debian.org>
- Subject: Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers
- From: Andreas Beckmann <anbe@debian.org>
- Date: Fri, 16 Jun 2017 03:06:41 +0200
- Message-id: <[🔎] 5f3eb0a9-9631-065d-1d1e-667f1cc686f5@debian.org>
- Reply-to: Andreas Beckmann <anbe@debian.org>, 864597@bugs.debian.org
- In-reply-to: <[🔎] 8a4fa5a0-fe58-05f9-88cf-253a1d251a10@thykier.net>
- References: <[🔎] 20170611091305.26084.86113.reportbug@armor.home> <[🔎] 4e9599f0-badd-f3a8-31fb-85bef5f92eda@thykier.net> <[🔎] b8022083-fb92-7332-0b16-d3de1db34e39@debian.org> <[🔎] 8a4fa5a0-fe58-05f9-88cf-253a1d251a10@thykier.net>
On 2017-06-15 22:31, Niels Thykier wrote:
> Guillem and I have been talking about this over IRC and have a theory.
>
> Basically, jessie's verison of desktop-file-utils and shared-mime-info
> have "-await" triggers (implicit) which will push other packages into a
> "TRIGGER_PENDING" state.
> Once they are in that state, the "damage" is done and those other
> packages will no longer satisfy dependencies until the trigger has been
> processed. Notably, dpkg is unable to /undo/ this state even if the
> trigger changes from -await to -noawait during the upgrade.
I think this theory is wrong. (Unless dpkg keeps packages in
trigger-pending state *after* a successful apt-get upgrade.)
I tested earlier this week the following upgrade path in piuparts:
Upgrade from jessie task-gnome-desktop with --install-recommends to
stretch (but with desktop-file-utils and shared-mime-info switched to
interest-noawait triggers in stretch).
The first (apt-get upgrade) phase upgraded both of these packages as
well as gnome-menues and finished with success. I assume there are no
pending triggers left at this point, and the 3 interesting packages have
noawait triggers.
The second phase (apt-get dist-upgrade) still runs into the trigger cycle.
Andreas
Reply to: