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


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

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

From Guillem Jover <guillem@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers
Date 2017-06-16 01:50 +0200
Message-ID <tSMGu-Cd-5@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> <tSJIB-7cs-11@gated-at.bofh.it> <tSLAJ-8oB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi!

On Fri, 2017-06-16 at 00:37:20 +0200, gregor herrmann wrote:
> On Thu, 15 Jun 2017 20:31:00 +0000, Niels Thykier wrote:
> > 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.
> 
> I think I can't confirm this theory. What I did:
> 
> A) Round 1: reproduce the problem:
> 
> 1) enter a jessie cowbuilder chroot
> 2) rm /etc/apt/apt.conf.d/15pbuilder # which turns off installing recommends
> 3) apt-get install task-gnome-desktop
> 4) sed -i -e 's/jessie/stretch/g' /etc/apt/sources.list
> 5) apt-get update
> 6) apt-get upgrade
> 7) apt-get dist-upgrade
> 
> Result:
[…]

> B) Round 2: play with triggers:
> 
> Same as above, except that after 3) I did
> 
> 3a) sed -i -e 's/interest /interest-noawait /' /var/lib/dpkg/info/{desktop-file-utils,shared-mime-info}.triggers
> 
> and after 6) I again ran
> 
> 6a) sed -i -e 's/interest /interest-noawait /' /var/lib/dpkg/info/{desktop-file-utils,shared-mime-info}.triggers

The important file to modify in addition is actually
/var/lib/dpkg/triggers/File, "/noawait" would need to be appended to
the relevant lines. The individual .triggers files for this scenario are
pretty much just parsed on unpack and removals.

Thanks,
Guillem

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