On Fri, 16 Jun 2017 06:18:18 +0200, Guillem Jover wrote: > > 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
> So, I didn't try to reproduce the error first, and went directly for > a hunch. I followed your recipe, but in steps 3* and 6* I also amended > hicolor-icon-theme. And that seemed to fix the upgrade. Take into > account I've not had the time to analyze the dependency chain, nor if > my initial setup (not using cowbuilder, etc) matches, so maybe this is > an error in procedure. If someone else can reproduce, that'd be helpful, > otherwise I might retry tomorrow. I now took the same steps as above, just adding hicolor-icon-theme in 3a/3b/6a/6b: 3a/6a) sed -i -e 's/interest /interest-noawait /' /var/lib/dpkg/info/{desktop-file-utils,shared-mime-info,hicolor-icon-theme}.triggers 3b/6b) sed -i -e 's;desktop-file-utils;desktop-file-utils/noawait;' -e 's;shared-mime-info;shared-mime-info/noawait;' -e 's;hicolor-icon-theme;hicolor-icon-theme/noawait;' /var/lib/dpkg/triggers/File Result: The dist-upgrade finishes successfully. > If this does fix it, it might be helpful also to try just amending the > triggers in the stretch "mock", instead of in the jessie one, to see if > such a fixed package would be enough. Interesting idea. Let's try (i.e. the same steps, but leaving out 3a and 3b): Result: Works as well. But. But. But this is with the "fixed" ca-certificates-java (20170531+nmu1) so we wouldn't see the failure in the first place. *sigh* Ok, so let's do this again, this time with a local repo added which contains ca-certificates-java 20170531+nmu2 (just 20170531 but with a higher version). (Side note: ca-certificates-java gets already updated in 6, i.e. in "upgrade", before the "dist-upgrade".) Option 1, with 3a/b: The dist-upgrade fails with the well-known error: (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) At this point all triggers should be in -noawait state: # grep interest /var/lib/dpkg/info/{gnome-menus,shared-mime-info,desktop-file-utils,mime-support,hicolor-icon-theme}.triggers /var/lib/dpkg/info/gnome-menus.triggers:interest-noawait /usr/share/applications /var/lib/dpkg/info/gnome-menus.triggers:interest-noawait gmenucache /var/lib/dpkg/info/shared-mime-info.triggers:interest-noawait /usr/share/mime/packages /var/lib/dpkg/info/desktop-file-utils.triggers:interest-noawait /usr/share/applications /var/lib/dpkg/info/mime-support.triggers:interest-noawait /usr/lib/mime/packages /var/lib/dpkg/info/mime-support.triggers:interest-noawait /usr/share/applications /var/lib/dpkg/info/hicolor-icon-theme.triggers:interest-noawait /usr/share/icons/hicolor # egrep "(gnome-menus|shared-mime-info|desktop-file-utils|mime-support|hicolor-icon-theme)" /var/lib/dpkg/triggers/File /usr/lib/mime/packages mime-support/noawait /usr/share/applications mime-support/noawait /usr/share/icons/hicolor hicolor-icon-theme/noawait /usr/share/mime/packages shared-mime-info/noawait /usr/share/applications desktop-file-utils/noawait /usr/share/applications gnome-menus/noawait 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: Peter Ratzenbeck: Der Ohrwurm
signature.asc
Description: Digital Signature