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


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

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

From gregor herrmann <gregoa@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 03:40 +0200
Message-ID <tSOoW-1JC-5@gated-at.bofh.it> (permalink)
References (1 earlier) <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> <tSMGu-Cd-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 16 Jun 2017 01:38:28 +0200, Guillem Jover wrote:

> > 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.

Oops, that's what you get when amateurs dabble around.
Thanks for filling in my incomplete knowledge!

Ok, let's try again:

1) enter a jessie cowbuilder chroot
2) rm /etc/apt/apt.conf.d/15pbuilder
3) apt-get install task-gnome-desktop
3a) sed -i -e 's/interest /interest-noawait /' /var/lib/dpkg/info/{desktop-file-utils,shared-mime-info}.triggers
3b) sed -i -e 's;desktop-file-utils;desktop-file-utils/noawait;' -e 's;shared-mime-info;shared-mime-info/noawait;' /var/lib/dpkg/triggers/File

4) sed -i -e 's/jessie/stretch/g' /etc/apt/sources.list
5) apt-get update
6) apt-get upgrade
6a) sed -i -e 's/interest /interest-noawait /' /var/lib/dpkg/info/{desktop-file-utils,shared-mime-info}.triggers
6b) sed -i -e 's;desktop-file-utils;desktop-file-utils/noawait;' -e 's;shared-mime-info;shared-mime-info/noawait;' /var/lib/dpkg/triggers/File
7) apt-get dist-upgrade

Result:

(Reading database ... 132342 files and directories currently installed.)
Removing openjdk-7-jre:amd64 (7u111-2.6.7-1~deb8u1) ...
Removing openjdk-7-jre-headless:amd64 (7u111-2.6.7-1~deb8u1) ...
Removing tzdata-java (2017b-0+deb8u1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  gnome-menus -> desktop-file-utils
 packages' pending triggers which are or may be unresolvable:
  gnome-menus: /usr/share/applications
  shared-mime-info: /usr/share/mime/packages
  desktop-file-utils: /usr/share/applications
  mime-support: /usr/share/applications
dpkg: error processing package gnome-menus (--remove):
 triggers looping, abandoned
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Errors were encountered while processing:
 gnome-menus
E: Sub-process /usr/bin/dpkg returned an error code (1)


It might well be that I again did something wrong. OTOH, this seems to
match what anbe wrote of his similar tests some minutes ago.


(Disclaimer:
I don't think this is any help for the imminent release, I was just
curious about this trigger issue and thought I'd try it out.
And since, according to his last mail, KiBi's "fix" on the java side
seems to allow for a working upgrade, there's probably also no
urgency to dig deeper into this trigger puzzle.)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Janis Joplin: Farewell Song

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