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
Attachment:
signature.asc
Description: Digital Signature