Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #207542

Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers

From Niels Thykier <niels@thykier.net>
Newsgroups linux.debian.bugs.rc
Subject Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers
Date 2017-06-15 22:40 +0200
Message-ID <tSJIB-7cs-11@gated-at.bofh.it> (permalink)
References <tR7cl-3g4-1@gated-at.bofh.it> <tR7YJ-3K5-1@gated-at.bofh.it> <tRCpQ-5OW-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Andreas Beckmann:
> [ added Guillem to the recipients, he is the expert for trigger cycles ]
> [ added Doko to the recipients, since #863820 is a possible solution ]
> [ therefore resending a full-quote ]
> 
> On 2017-06-11 12:00, Niels Thykier wrote:
>> Cyril Brulebois:
>>> Package: upgrade-reports
>>> Severity: critical
>>> Justification: makes upgrade from stable abort
>>>
>> [...]
> 
> Switching desktop-file-utils or/and shared-mime-info to -noawait
> triggers does not solve the problem.
> 

Hi,

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.

 * If this holds, then changing the desktop-file-utils and
   shared-mime-info triggers *in stable* to -noawait should make the
   problem go away.

 * I realise it is unfeasible to implement in Debian by Saturday, but
   it would help us understand the root cause of the problem.
   - Tests to confirm/disprove this would be very welcome.

If this holds, then to fully resolve the problem, we will need 3 things:

 * A stable update to jessie for these two packages migrating to
   -noawait.

 * An upload targeting stretch for these two packages migrating them to
   -noawait.

 * A "big magic hammer" work around for stretch for r0
   - OR a release-notes remark to pull upgrades from jessie
   - OR ...

Obviously, the above possibly ignores some time constraints.
Furthermore, the only thing remotely resembling a "big magic hammer"
atm. seems to be #863820, which we are unwilling to do with such short
notice[1].
  I know that there was an upload to undo the changes in the java
packages, but AFAIUI, it basically means that Java will not be upgraded.
 The user would explicitly have to install Java 8 and then uninstall the
now unsupported Java 7 - that seems very unhelpful to me.

Thanks,
~Niels

[1] We do have an another possible "big magic hammer", but it is even
less pretty and is called "Pre-Depends".  As I recall, Pre-Depends are
handled specially by apt so it runs them in smaller bundles before the
main upgrade.  We can almost certainly abuse this to work around the issue.

However, I hardly imagine that most of you will applaud that.

Back to linux.debian.bugs.rc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-11 11:20 +0200
  Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Niels Thykier <niels@thykier.net> - 2017-06-11 12:10 +0200
    Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Andreas Beckmann <anbe@debian.org> - 2017-06-12 20:40 +0200
      Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Michael Biebl <biebl@debian.org> - 2017-06-15 10:10 +0200
        Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Julien Cristau <jcristau@debian.org> - 2017-06-15 15:00 +0200
          Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-15 15:30 +0200
            Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-15 17:30 +0200
              Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-15 18:20 +0200
                Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Emmanuel Bourg <ebourg@apache.org> - 2017-06-15 19:40 +0200
                Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-16 08:10 +0200
            Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Bill Allombert <ballombe@debian.org> - 2017-06-15 19:50 +0200
              Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-16 02:10 +0200
      Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Niels Thykier <niels@thykier.net> - 2017-06-15 22:40 +0200
        Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Guillem Jover <guillem@debian.org> - 2017-06-16 01:50 +0200
          Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers gregor herrmann <gregoa@debian.org> - 2017-06-16 03:40 +0200
            Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Guillem Jover <guillem@debian.org> - 2017-06-16 06:30 +0200
              Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers gregor herrmann <gregoa@debian.org> - 2017-06-16 18:40 +0200
                Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-16 19:10 +0200
        Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Cyril Brulebois <kibi@debian.org> - 2017-06-16 02:30 +0200
        Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers Andreas Beckmann <anbe@debian.org> - 2017-06-16 03:10 +0200

csiph-web