Bug#778695: wheezy -> jessie: no gdm3 prompt, dependency loops and broken initrd
Package: upgrade-reports
Severity: grave
This is the third jessie upgrade I perform from jessie. The previous one
was documented in #774314.
It seems that the dependency loop problems are still there, and there were so
many problems with the upgrade that I don't believe it would be right to
release jessie as such (hence the "grave" severity). I know that I certainly
can't spend the 6h i did on this workstation on all the workstations in the
office. :)
I followed the two-stage upgrade procedure from the install manual. My
notes are here:
https://wiki.koumbit.net/JessieUpgrade
During the `dist-upgrade` step (after the `upgrade`), there was a
failure i couldn't trace back (because i somehow got out of that ttyrec
by mistake). After that, I got the following error trying to run
`dist-upgrade` again:
root@desktop008:/# apt-get dist-upgrade -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold'
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
aptdaemon : Depends: python-aptdaemon (= 0.45-2) but 1.1.1-4 is installed
auctex : Depends: emacs24 or
emacs-snapshot but it is not installable
cheese : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
cups : Depends: cups-core-drivers (>= 1.7.5-10) but it is not installed
Depends: cups-server-common (>= 1.7.5-10) but it is not installed
Depends: cups-client (>= 1.7.5-10) but 1.5.3-5+deb7u4 is installed
Depends: cups-filters (>= 1.0.24-3~) but 1.0.18-2.1+deb7u1 is installed
Recommends: cups-filters (>= 1.0.42) but 1.0.18-2.1+deb7u1 is installed or
foomatic-filters (>= 4.0)
Recommends: cups-filters (>= 1.0.36) but 1.0.18-2.1+deb7u1 is installed or
ghostscript-cups (>= 9.02~)
cups-bsd : Depends: cups-client (= 1.7.5-10) but 1.5.3-5+deb7u4 is installed
cups-client : Depends: libcups2 (= 1.5.3-5+deb7u4) but 1.7.5-10 is installed
dpkg : Breaks: fontconfig (< 2.11.0-6.2) but 2.9.0-7.1 is installed
Breaks: man-db (< 2.6.3-6) but 2.6.2-1 is installed
eog : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
evolution : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
evolution-plugins : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
foomatic-db-engine : Depends: cups-filters (>= 1.0.42) but 1.0.18-2.1+deb7u1 is installed or
foomatic-filters (>= 4.0)
gdm3 : Depends: libaudit0 (>= 1.7.13) but it is not installable
gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.32.1-1) but 1.42.0-2.2 is installed
gnome-color-manager : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
gnome-contacts : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
gnome-control-center : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
gnome-documents : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
gnome-panel : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
gnome-screensaver : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
gnome-settings-daemon : Depends: libgnome-desktop-3-2 (>= 3.4.0) but it is not installable
gnome-themes-standard : Depends: libpangocairo-1.0-0 (>= 1.14.0) but it is not installed
gtk2-engines-pixbuf : Depends: libgtk2.0-0 (= 2.24.10-2) but 2.24.25-1 is installed
libc-dev-bin : Depends: libc6 (< 2.14) but 2.19-13 is installed
libc6-dev : Depends: libc6 (= 2.13-38+deb7u7) but 2.19-13 is installed
libcairo2-dev : Depends: libcairo2 (= 1.12.2-3) but 1.14.0-2.1 is installed
libcupscgi1 : Depends: libcups2 (= 1.5.3-5+deb7u4) but 1.7.5-10 is installed
libcupsdriver1 : Depends: libcups2 (= 1.5.3-5+deb7u4) but 1.7.5-10 is installed
libcupsimage2 : Depends: libcups2 (= 1.5.3-5+deb7u4) but 1.7.5-10 is installed
libcupsmime1 : Depends: libcups2 (= 1.5.3-5+deb7u4) but 1.7.5-10 is installed
libcupsppdc1 : Depends: libcups2 (= 1.5.3-5+deb7u4) but 1.7.5-10 is installed
libevolution : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
libgail-3-0 : Depends: libgtk-3-0 (= 3.4.2-7) but 3.14.5-1 is installed
libgail18 : Depends: libgtk2.0-0 (= 2.24.10-2) but 2.24.25-1 is installed
libgdk-pixbuf2.0-dev : Depends: libgdk-pixbuf2.0-0 (= 2.26.1-1) but 2.31.1-2+b1 is installed
libglib2.0-bin : Depends: libglib2.0-0 (= 2.33.12+really2.32.4-5) but 2.42.1-1 is installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.33.12+really2.32.4-5) but 2.42.1-1 is installed
libgtk-3-0 : Depends: libpangocairo-1.0-0 (>= 1.36.7) but it is not installed
libgtk-3-bin : Depends: libgtk-3-common (= 3.4.2-7) but 3.14.5-1 is installed
libgtk-3-dev : Depends: libgtk-3-0 (= 3.4.2-7) but 3.14.5-1 is installed
libgtk2.0-0 : Depends: libpangocairo-1.0-0 (>= 1.28.3) but it is not installed
libgtk2.0-bin : Depends: libgtk2.0-0 (= 2.24.10-2) but 2.24.25-1 is installed
libmagickwand-6.q16-2 : Depends: libmagickcore-6.q16-2 (>= 8:6.8.9.9) but it is not installed
libpango1.0-0 : Depends: libpangocairo-1.0-0 (= 1.36.8-3) but it is not installed
Depends: libpangox-1.0-0 (>= 0.0.2-2~) but it is not installed
Depends: libpangoxft-1.0-0 (= 1.36.8-3) but it is not installed
libpango1.0-dev : Depends: libpango1.0-0 (= 1.30.0-1) but 1.36.8-3 is installed
libwebkitgtk-1.0-0 : Depends: libpangocairo-1.0-0 (>= 1.30.0) but it is not installed
Depends: libsecret-1-0 (>= 0.7) but it is not installed
Depends: libsoup2.4-1 (>= 2.44.0) but 2.38.1-3 is installed
Depends: libwebp5 but it is not installed
Recommends: gstreamer1.0-plugins-base but it is not installed
Recommends: gstreamer1.0-plugins-good but it is not installed
Recommends: geoclue-2.0 but it is not installed
nautilus : Depends: libgnome-desktop-3-2 (>= 3.2.0) but it is not installable
printer-driver-foo2zjs : Depends: foomatic-filters
printer-driver-gutenprint : Depends: ghostscript-cups
printer-driver-hpcups : Depends: ghostscript-cups
printer-driver-m2300w : Depends: cups-filters (>= 1.0.42) but 1.0.18-2.1+deb7u1 is installed or
foomatic-filters (>= 4.0.0~bzr156)
printer-driver-pxljr : Depends: cups-filters (>= 1.0.42) but 1.0.18-2.1+deb7u1 is installed or
foomatic-filters (>= 4.0.0~bzr156)
printer-driver-splix : Depends: ghostscript-cups
python-aptdaemon.gtk3widgets : Depends: python-aptdaemon (= 0.45-2) but 1.1.1-4 is installed
python-gi-cairo : Depends: python-gi (= 3.2.2-2) but 3.14.0-1 is installed
xserver-xephyr : Depends: libaudit0 (>= 1.7.13) but it is not installable
xserver-xorg-core : Depends: libaudit0 (>= 1.7.13) but it is not installable
E: Unmet dependencies. Try using -f.
I gladly obliged and ran dist-upgrade with `-f` again. Then it failed on pango:
Paramétrage de libgdk-pixbuf2.0-0:amd64 (2.31.1-2+b1) ...
g_module_open() failed for /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
dpkg: des problèmes de dépendances empêchent la configuration de libpango-1.0-0:amd64 :
libpango-1.0-0:amd64 dépend de fontconfig (>= 2.1.91) ; cependant :
Le paquet fontconfig n'est pas encore configuré.
dpkg: erreur de traitement du paquet libpango-1.0-0:amd64 (--configure) :
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
libpango-1.0-0:amd64
I beat it over the head again with another -f run and got further:
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.31.1-2+b1) ...
(Reading database ... 346603 files and directories currently installed.)
Preparing to unpack .../perl-modules_5.20.1-5_all.deb ...
Unpacking perl-modules (5.20.1-5) over (5.14.2-21+deb7u2) ...
Setting up libgdbm3:amd64 (1.8.3-13.1) ...
Setting up perl-modules (5.20.1-5) ...
Setting up perl (5.20.1-5) ...
dpkg: cycle found while processing triggers:
chain of packages whose triggers are or may be responsible:
munin-node -> munin-node
packages' pending triggers which are or may be unresolvable:
gnome-menus: /usr/share/applications
munin-node: perl-major-upgrade
gconf2: /usr/share/gconf/schemas
dpkg: error processing package gnome-menus (--configure):
triggers looping, abandoned
dpkg: cycle found while processing triggers:
chain of packages whose triggers are or may be responsible:
munin-node -> munin-node -> munin-node
packages' pending triggers which are or may be unresolvable:
munin-node: perl-major-upgrade
gconf2: /usr/share/gconf/schemas
dpkg: error processing package munin-node (--configure):
triggers looping, abandoned
Setting up libgd-perl (2.53-1+b1) ...
Errors were encountered while processing:
gnome-menus
munin-node
Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct
Some new locales have appeared on your system:
cmn ku_IQ nhn shn szl tt@iqtelif
They will not be touched until you reconfigure localepurge
with the following command:
dpkg-reconfigure localepurge
localepurge: Disk space freed in /usr/share/locale: 125128 KiB
localepurge: Disk space freed in /usr/share/man: 8 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB
Total disk space freed by localepurge: 125136 KiB
Can't locate Proc/ProcessTable.pm in @INC (you may need to install the Proc::ProcessTable module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/NeedRestart/Utils.pm line 30.
BEGIN failed--compilation aborted at /usr/share/perl5/NeedRestart/Utils.pm line 30.
Compilation failed in require at /usr/share/perl5/NeedRestart.pm line 30.
BEGIN failed--compilation aborted at /usr/share/perl5/NeedRestart.pm line 30.
Compilation failed in require at /usr/sbin/needrestart line 28.
BEGIN failed--compilation aborted at /usr/sbin/needrestart line 28.
E: Sub-process /usr/bin/dpkg exited unexpectedly
Maybe the latter is just a weird bug in needrestart.
Now, after 6 dist-upgrade -f (and i believe i also interleaved a dpkg
--configure -a somewhere in there), all the packages were fiiinally installed,
and i was about to restart, but remembered i wanted to try plymouth, so I did
this:
apt-get install plymouth plymouth-themes
plymout-set-default-theme -R joy
After a reboot, the kernel wouldn't come up. It would hang in
`/scripts/local-premount`. Puzzled, I was able to boot from the previous
(3.2) kernel, and after extracting the initrd, I couldn't see notable
differences between the scripts in the `local-premount` directory:
root@desktop008:/boot# diff -rq {old,new}/scripts/
Files old/scripts/init-bottom/ORDER and new/scripts/init-bottom/ORDER differ
Only in new/scripts/init-bottom: plymouth
Only in new/scripts/: init-premount
Only in new/scripts/: local-block
Files old/scripts/local-premount/uswsusp and new/scripts/local-premount/uswsusp differ
Files old/scripts/local-top/cryptroot and new/scripts/local-top/cryptroot differ
The premount diff was:
--- old/scripts/local-premount/uswsusp 2015-02-18 11:36:26.000000000 -0500
+++ new/scripts/local-premount/uswsusp 2015-02-18 11:35:24.000000000 -0500
@@ -31,7 +31,7 @@
DEV=`cat /sys/class/misc/snapshot/dev `
if [ ! -c /dev/snapshot ]; then
- mknod /dev/snapshot c ${DEV%:*} ${DEV#*:}
+ mknod /dev/snapshot c ${DEV%:*} ${DEV#*:}
fi
/sbin/resume
Regardless, dpkg-reconfigure linux-image-3.2.0-4-amd64 regenerated a working
initrd and I was able to boot again.
The next problem I found was with gdm3: it was startup, but would only show the
top toolbar: no user menu or user/password prompt. I worked around the problem
by installing lightdm. I suspect this may be related to our LDAP setup.
Should I file bugs on gdm3, plymouth (?), needrestart ... or should this all be
clarified here first?
Thanks!
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (2, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: