Results 1 to 4 of 4

Thread: 22.04 to 24.04 upgrade completed with errors. Unusable state warning.

  1. #1
    Join Date
    Aug 2005
    Beans
    49
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Exclamation 22.04 to 24.04 upgrade completed with errors. Unusable state warning.

    I kicked off my do-release-upgrade over ssh this morning and things are looking grim. It was working ok at first except during the upgrade it kept printing

    Code:
     X11 connection rejected because of wrong authentication.
    which sometimes forced useful information off the screen. Hopefully that's unrelated.

    When the upgrade wrapped I saw this, before it got pushed off the screen by those X11 errors:

    Code:
    Upgrade complete 
    
    The upgrade has completed but there were errors during the upgrade 
    process.
    I'm hoping there's a way to pull this out of the fire, ideally remotely, but I'm not sure where to start. I can still ssh to the system but I don't dare to reboot until I have a better idea what's going on. I'm happy to get rid of hdf5 and mpi but even if those are the cause of the issue, which isn't clear to me, I'm not sure how to restart the upgrade and turn this into a clean 24.04 install.

    My /var/log/dist-upgrade/screenlog.0 is too big to upload, but here are the probably relevant excerpts, starting with the first obvious error.


    Code:
    Removing libhdf5-openmpi-dev (1.10.7+repack-4ubuntu2) ...
    update-alternatives: warning: alternative /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-mpi.pc (part of link group hdf5.pc) doesn't exist; removing from list of alternatives
    update-alternatives: warning: /etc/alternatives/hdf5.pc is dangling; it will be updated with best choice
    update-alternatives: error: no alternatives for mpi
    dpkg: error processing package libhdf5-openmpi-dev (--remove):
     installed libhdf5-openmpi-dev package pre-removal script subprocess returned error exit status 2
    dpkg: too many errors, stopping
    update-alternatives: using /usr/bin/h5pcc.openmpi to provide /usr/bin/h5pcc (h5pcc) in auto mode
    update-alternatives: warning: /etc/alternatives/hdf5.pc is dangling; it will be updated with best choice
    update-alternatives: using /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-openmpi.pc to provide /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode
    update-alternatives: error: no alternatives for mpi
    dpkg: error while cleaning up:
     installed libhdf5-openmpi-dev package post-installation script subprocess returned error exit status 2
    Errors were encountered while processing:
     libhdf5-openmpi-dev
    Processing was halted because there were too many errors.
    /usr/bin/gdbus: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
    ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/libhdf5-openmpi-dev.0.crash'
    /usr/bin/gdbus: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
    /usr/bin/gdbus: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
    Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (1)
    
    Could not install the upgrades 
    
    The upgrade has aborted. Your system could be in an unusable state. A 
    recovery will run now (dpkg --configure -a). 
    
    dpkg: dependency problems prevent configuration of libgs10:amd64:
     libgs10:amd64 depends on libcups2t64 (>= 2.3~b6); however:
      Package libcups2t64 is not installed.
    
    dpkg: error processing package libgs10:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libedataserverui4-1.0-0t64:amd64:
     libedataserverui4-1.0-0t64:amd64 depends on libglib2.0-0t64 (>= 2.66.0).
    
    dpkg: error processing package libedataserverui4-1.0-0t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gnome-calculator:
     gnome-calculator depends on libadwaita-1-0 (>= 1.4~beta); however:
      Version of libadwaita-1-0:amd64 on system is 1.1.7-0ubuntu0.22.04.1.
     gnome-calculator depends on libglib2.0-0t64 (>= 2.64.0).
     gnome-calculator depends on libgtk-4-1 (>= 4.11.4); however:
      Version of libgtk-4-1:amd64 on system is 4.6.9+ds-0ubuntu0.22.04.2.
    
    dpkg: error processing package gnome-calculator (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libgweather-4-0t64:amd64:
     libgweather-4-0t64:amd64 depends on libglib2.0-0 (>= 2.79.0); however:
      Package libglib2.0-0:amd64 is not installed.
    
    dpkg: error processing package libgweather-4-0t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libcamel-1.2-64t64:amd64:
     libcamel-1.2-64t64:amd64 depends on libglib2.0-0t64 (>= 2.64.0).
    
    dpkg: error processing package libcamel-1.2-64t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libksba8:amd64 (1.6.6-1build1) ...
    dpkg: dependency problems prevent configuration of hplip:
     hplip depends on libcups2t64 (>= 1.6.0); however:
      Package libcups2t64 is not installed.
    
    dpkg: error processing package hplip (--configure):
     dependency problems - leaving unconfigured
    Setting up libhwy1t64:amd64 (1.0.7-8.1build1) ...
    Setting up libgoa-1.0-common (3.50.4-0ubuntu2) ...
    dpkg: dependency problems prevent configuration of gstreamer1.0-gl:amd64:
     gstreamer1.0-gl:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package gstreamer1.0-gl:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gir1.2-gtk-4.0:amd64:
     gir1.2-gtk-4.0:amd64 depends on libgtk-4-1 (>= 4.14.1); however:
      Version of libgtk-4-1:amd64 on system is 4.6.9+ds-0ubuntu0.22.04.2.
    
    dpkg: error processing package gir1.2-gtk-4.0:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libglib-object-introspection-perl:
     libglib-object-introspection-perl depends on libglib2.0-0t64 (>= 2.24.0).
    
    dpkg: error processing package libglib-object-introspection-perl (--configure):
     dependency problems - leaving unconfigured
    Setting up gsettings-desktop-schemas (46.1-0ubuntu1) ...
    dpkg: dependency problems prevent configuration of libatk-bridge2.0-0t64:amd64:
     libatk-bridge2.0-0t64:amd64 depends on libatk1.0-0t64 (>= 2.51.90); however:
      Package libatk1.0-0t64 is not installed.
     libatk-bridge2.0-0t64:amd64 depends on libatspi2.0-0t64 (>= 2.9.90); however:
      Package libatspi2.0-0t64 is not installed.
     libatk-bridge2.0-0t64:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libatk-bridge2.0-0t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libtext-iconv-perl:amd64 (1.7-8build3) ...
    dpkg: dependency problems prevent configuration of graphviz:
     graphviz depends on libglib2.0-0t64 (>= 2.16.0).
    
    dpkg: error processing package graphviz (--configure):
     dependency problems - leaving unconfigured
    Setting up liblcms2-2:amd64 (2.14-2build1) ...
    Setting up liblcms2-2:i386 (2.14-2build1) ...
    dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
     libglib2.0-dev-bin depends on libglib2.0-0t64 (= 2.80.0-6ubuntu3.1).
    
    dpkg: error processing package libglib2.0-dev-bin (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of unity-lens-video:
     unity-lens-video depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package unity-lens-video (--configure):
     dependency problems - leaving unconfigured
    Setting up libdvdread8t64:amd64 (6.1.3-1.1build1) ...
    dpkg: dependency problems prevent configuration of sssd-ad:
     sssd-ad depends on libldap2 (>= 2.6.2).
    
    dpkg: error processing package sssd-ad (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of xdg-desktop-portal-gtk:
     xdg-desktop-portal-gtk depends on libglib2.0-0t64 (>= 2.79.0).
     xdg-desktop-portal-gtk depends on libgtk-3-0t64 (>= 3.21.5); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package xdg-desktop-portal-gtk (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libreoffice-gtk3:
     libreoffice-gtk3 depends on libatk1.0-0t64 (>= 2.11.90); however:
      Package libatk1.0-0t64 is not installed.
     libreoffice-gtk3 depends on libglib2.0-0t64 (>= 2.79.0).
     libreoffice-gtk3 depends on libgtk-3-0t64 (>= 3.21.5); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package libreoffice-gtk3 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of glib-networking-services:
     glib-networking-services depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package glib-networking-services (--configure):
     dependency problems - leaving unconfigured
    Setting up gnuplot-data (6.0.0+dfsg1-1ubuntu3) ...
    Setting up libtext-charwidth-perl:amd64 (0.04-11build3) ...
    dpkg: dependency problems prevent configuration of unity-scope-home:
     unity-scope-home depends on libglib2.0-0t64 (>= 2.44.0).
    
    dpkg: error processing package unity-scope-home (--configure):
     dependency problems - leaving unconfigured
    Setting up libxapian30:amd64 (1.4.22-1build1) ...
    dpkg: dependency problems prevent configuration of libchamplain-0.12-0:amd64:
     libchamplain-0.12-0:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
     libchamplain-0.12-0:amd64 depends on libgtk-3-0t64 (>= 3.0.0); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package libchamplain-0.12-0:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of indicator-appmenu:
     indicator-appmenu depends on libglib2.0-0t64 (>= 2.79.0).
     indicator-appmenu depends on libgtk-3-0t64 (>= 3.5.12); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package indicator-appmenu (--configure):
     dependency problems - leaving unconfigured
    Setting up libsharpyuv0:amd64 (1.3.2-0.4build3) ...
    Setting up libsharpyuv0:i386 (1.3.2-0.4build3) ...
    Setting up unity-gtk-module-common (0.0.0+18.04.20171202-0ubuntu7) ...
    dpkg: dependency problems prevent configuration of gtk-update-icon-cache:
     gtk-update-icon-cache depends on libglib2.0-0t64 (>= 2.57.2).
    
    dpkg: error processing package gtk-update-icon-cache (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libxapp1:amd64:
     libxapp1:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
     libxapp1:amd64 depends on libgtk-3-0t64 (>= 3.21.5); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package libxapp1:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up lsb-base (11.6) ...
    Setting up libzstd1:i386 (1.5.5+dfsg2-2build1.1) ...
    dpkg: dependency problems prevent configuration of libgts-bin:
     libgts-bin depends on libglib2.0-0t64 (>= 2.16.0).
    
    dpkg: error processing package libgts-bin (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of tracker:
     tracker depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package tracker (--configure):
     dependency problems - leaving unconfigured
    Setting up liborcus-parser-0.18-0:amd64 (0.19.2-3build3) ...
    dpkg: dependency problems prevent configuration of libdebuginfod1t64:amd64:
     libdebuginfod1t64:amd64 depends on libcurl3t64-gnutls (>= 7.28.0).
    
    dpkg: error processing package libdebuginfod1t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libqt6core6t64:amd64:
     libqt6core6t64:amd64 depends on libglib2.0-0t64 (>= 2.26.0).
    
    dpkg: error processing package libqt6core6t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of llvm-15:
     llvm-15 depends on libcurl4t64 (>= 7.16.2); however:
      Package libcurl4t64 is not installed.
    
    dpkg: error processing package llvm-15 (--configure):
     dependency problems - leaving unconfigured
    Setting up libprotobuf32t64:amd64 (3.21.12-8.2build1) ...
    dpkg: dependency problems prevent configuration of unity-services:
     unity-services depends on libatk-bridge2.0-0t64 (>= 2.5.3); however:
      Package libatk-bridge2.0-0t64:amd64 is not configured yet.
     unity-services depends on libatk1.0-0t64 (>= 1.12.4); however:
      Package libatk1.0-0t64 is not installed.
     unity-services depends on libglib2.0-0t64 (>= 2.79.0).
     unity-services depends on libgtk-3-0t64 (>= 3.9.10); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package unity-services (--configure):
     dependency problems - leaving unconfigured
    Setting up librabbitmq4:amd64 (0.11.0-1build2) ...
    dpkg: dependency problems prevent configuration of bamfdaemon:
     bamfdaemon depends on libglib2.0-0 (>= 2.79.0); however:
      Package libglib2.0-0:amd64 is not installed.
    
    dpkg: error processing package bamfdaemon (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libwebkit2gtk-4.1-0:amd64:
     libwebkit2gtk-4.1-0:amd64 depends on libatk1.0-0t64 (>= 1.32.0); however:
      Package libatk1.0-0t64 is not installed.
     libwebkit2gtk-4.1-0:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
     libwebkit2gtk-4.1-0:amd64 depends on libgtk-3-0t64 (>= 3.23.0); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package libwebkit2gtk-4.1-0:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up imagemagick-6-common (8:6.9.12.98+dfsg1-5.2build2) ...
    Installing new version of config file /etc/ImageMagick-6/delegates.xml ...
    Installing new version of config file /etc/ImageMagick-6/mime.xml ...
    Installing new version of config file /etc/ImageMagick-6/policy.xml ...
    Installing new version of config file /etc/ImageMagick-6/thresholds.xml ...
    Installing new version of config file /etc/ImageMagick-6/type-ghostscript.xml ...
    Installing new version of config file /etc/ImageMagick-6/type-urw-base35.xml ...
    dpkg: dependency problems prevent configuration of python3-dbus:
     python3-dbus depends on libglib2.0-0t64 (>= 2.16.0).
    
    dpkg: error processing package python3-dbus (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libqt6widgets6t64:amd64:
     libqt6widgets6t64:amd64 depends on libqt6core6t64 (>= 6.4.0); however:
      Package libqt6core6t64:amd64 is not configured yet.
     libqt6widgets6t64:amd64 depends on qt6-base-abi (= 6.4.2); however:
      Package qt6-base-abi is not installed.
      Package libqt6core6t64:amd64 which provides qt6-base-abi is not configured yet.
    
    dpkg: error processing package libqt6widgets6t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of unity:
     unity depends on libatk-bridge2.0-0t64 (>= 2.5.3); however:
      Package libatk-bridge2.0-0t64:amd64 is not configured yet.
     unity depends on libatk1.0-0t64 (>= 2.2.0); however:
      Package libatk1.0-0t64 is not installed.
     unity depends on libglib2.0-0t64 (>= 2.79.0).
     unity depends on libgtk-3-0t64 (>= 3.21.4); however:
      Package libgtk-3-0t64 is not installed.
     unity depends on bamfdaemon; however:
      Package bamfdaemon is not configured yet.
     unity depends on unity-scope-home; however:
      Package unity-scope-home is not configured yet.
    
    dpkg: error processing package unity (--configure):
     dependency problems - leaving unconfigured
    Setting up libsbc1:amd64 (2.0-1build1) ...
    dpkg: dependency problems prevent configuration of libgck-2-2:amd64:
     libgck-2-2:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libgck-2-2:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of mailutils:
     mailutils depends on libldap2 (>= 2.6.2).
    
    dpkg: error processing package mailutils (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of shotwell:
     shotwell depends on libglib2.0-0t64 (>= 2.79.0).
     shotwell depends on libgtk-3-0t64 (>= 3.21.5); however:
      Package libgtk-3-0t64 is not installed.
    
    dpkg: error processing package shotwell (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libnfsidmap1:amd64:
     libnfsidmap1:amd64 depends on libldap2 (>= 2.6.2).
    
    dpkg: error processing package libnfsidmap1:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up gnome-panel-data (1:3.52.0-1ubuntu2) ...
    dpkg: dependency problems prevent configuration of libproxy1v5:amd64:
     libproxy1v5:amd64 depends on libcurl3t64-gnutls (>= 7.16.2).
     libproxy1v5:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libproxy1v5:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of timidity-interfaces-extra:
     timidity-interfaces-extra depends on libglib2.0-0t64 (>= 2.12.0).
    
    dpkg: error processing package timidity-interfaces-extra (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libglib-perl:amd64:
     libglib-perl:amd64 depends on libglib2.0-0t64 (>= 2.42.0).
    
    dpkg: error processing package libglib-perl:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libgeoclue-2-0:amd64:
     libgeoclue-2-0:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libgeoclue-2-0:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libnatpmp1t64:amd64 (20230423-1.2build1) ...
    Setting up libnewt0.52:amd64 (0.52.24-2ubuntu2) ...
    dpkg: dependency problems prevent configuration of gstreamer1.0-x:amd64:
     gstreamer1.0-x:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package gstreamer1.0-x:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of xdg-desktop-portal:
     xdg-desktop-portal depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package xdg-desktop-portal (--configure):
     dependency problems - leaving unconfigured
    Setting up geocode-glib-common (3.26.3-6build3) ...
    dpkg: dependency problems prevent configuration of libgtksourceview-5-0:amd64:
     libgtksourceview-5-0:amd64 depends on libglib2.0-0 (>= 2.79.0); however:
      Package libglib2.0-0:amd64 is not installed.
     libgtksourceview-5-0:amd64 depends on libgtk-4-1 (>= 4.10); however:
      Version of libgtk-4-1:amd64 on system is 4.6.9+ds-0ubuntu0.22.04.2.
    
    dpkg: error processing package libgtksourceview-5-0:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gvfs:amd64:
     gvfs:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package gvfs:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libuno-sal3t64 (4:24.2.5-0ubuntu0.24.04.2) ...
    Setting up libsss-idmap0 (2.9.4-1.1ubuntu6.1) ...
    dpkg: dependency problems prevent configuration of libportal1:amd64:
     libportal1:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libportal1:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
    Setting up liblerc4:amd64 (4.0.0+ds-4ubuntu2) ...
    Setting up libphodav-3.0-common (3.0-8build3) ...
    dpkg: dependency problems prevent configuration of libgjs0g:amd64:
     libgjs0g:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libgjs0g:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libuuid-perl (0.31-1build3) ...
    Setting up libgdbm6t64:amd64 (1.23-5.1build1) ...
    Setting up libcaca0:amd64 (0.99.beta20-4build2) ...
    Setting up libre2-10:amd64 (20230301-3build1) ...
    dpkg: dependency problems prevent configuration of libglibmm-2.68-1t64:amd64:
     libglibmm-2.68-1t64:amd64 depends on libglib2.0-0 (>= 2.77.0); however:
      Package libglib2.0-0:amd64 is not installed.
    
    dpkg: error processing package libglibmm-2.68-1t64:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up libv4lconvert0t64:amd64 (1.26.1-4build3) ...
    Setting up libv4lconvert0t64:i386 (1.26.1-4build3) ...
    dpkg: dependency problems prevent configuration of libpangoxft-1.0-0:amd64:
     libpangoxft-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libpangoxft-1.0-0:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of libgcr-4-4:amd64:
     libgcr-4-4:amd64 depends on libgck-2-2 (= 4.2.0-5); however:
      Package libgck-2-2:amd64 is not configured yet.
     libgcr-4-4:amd64 depends on libglib2.0-0t64 (>= 2.79.0).
    
    dpkg: error processing package libgcr-4-4:amd64 (--configure):
     dependency problems - leaving unconfigured
    dpkg: too many errors, stopping
    Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
    Errors were encountered while processing:
     libgs10:amd64
     libedataserverui4-1.0-0t64:amd64
     gnome-calculator
     libgweather-4-0t64:amd64
     libcamel-1.2-64t64:amd64
     hplip
     gstreamer1.0-gl:amd64
     gir1.2-gtk-4.0:amd64
     libglib-object-introspection-perl
     libatk-bridge2.0-0t64:amd64
     graphviz
     libglib2.0-dev-bin
     unity-lens-video
     sssd-ad
     xdg-desktop-portal-gtk
     libreoffice-gtk3
     glib-networking-services
     unity-scope-home
     libchamplain-0.12-0:amd64
     indicator-appmenu
     gtk-update-icon-cache
     libxapp1:amd64
     libgts-bin
     tracker
     libdebuginfod1t64:amd64
     libqt6core6t64:amd64
     llvm-15
     unity-services
     bamfdaemon
     libwebkit2gtk-4.1-0:amd64
     python3-dbus
     libqt6widgets6t64:amd64
     unity
     libgck-2-2:amd64
     mailutils
     shotwell
     libnfsidmap1:amd64
     libproxy1v5:amd64
     timidity-interfaces-extra
     libglib-perl:amd64
     libgeoclue-2-0:amd64
     gstreamer1.0-x:amd64
     xdg-desktop-portal
     libgtksourceview-5-0:amd64
     gvfs:amd64
     libportal1:amd64
     libgjs0g:amd64
     libglibmm-2.68-1t64:amd64
     libpangoxft-1.0-0:amd64
     libgcr-4-4:amd64
    Processing was halted because there were too many errors.
    Starting upgrade of Ubuntu Pro service configuration
    Finished upgrade of Ubuntu Pro service configuration
    
    Upgrade complete 
    
    The upgrade has completed but there were errors during the upgrade 
    process.

  2. #2
    Join Date
    Aug 2005
    Beans
    49
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: 22.04 to 24.04 upgrade completed with errors. Unusable state warning.

    After trying a couple things some apt commands (apt --fix-broken install) are failing with errors like:
    Code:
    /usr/bin/gdbus: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
    and

    Code:
    update-desktop-database: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
    Trying to apt install individual packages fails with:

    Code:
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
    ...followed by a long list of packages with their missing dependencies, which seem to mostly come back to libglib2.0-0 and libgtk-3-0t64

  3. #3
    Join Date
    Aug 2005
    Beans
    49
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: 22.04 to 24.04 upgrade completed with errors. Unusable state warning.

    I think it's fixed. I grabbed the deb for the missing libglib2: wget http://archive.ubuntu.com/ubuntu/poo...u3.1_amd64.deb

    And force installed it:
    Code:
    sudo dpkg -i  --force-overwrite  ./libglib2.0-0t64_2.80.0-6ubuntu3.1_amd64.deb
    Before I did the force overwrite dpkg failed with:
    Code:
    dpkg: error processing archive ./libglib2.0-0t64_2.80.0-6ubuntu3.1_amd64.deb (--install):
     trying to overwrite shared '/usr/share/doc/libglib2.0-0t64/changelog.Debian.gz', which is different from other instances of package libglib2.0-0t64:amd64
    I wonder if that is what caused the failure during the initial upgrade. I saw no sign of an error related to installing libglib2 in the log.

    I got this warning during the forced dpkg which I hope I can ignore:
    Code:
    No such key “toggle-shaded” in schema “org.gnome.desktop.wm.keybindings:Unity” as specified in override file “/usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override”; ignoring override for this key.
    After an ldconfig, sudo apt --fix-broken install
    worked.


    Code:
    sudo apt update
    spits out a lot of messages like:
    Code:
    (appstreamcli:85449): GLib-GIO-CRITICAL **: 14:56:21.217: GFileInfo created without standard::is-hidden
    
    (appstreamcli:85449): GLib-GIO-CRITICAL **: 14:56:21.217: file ../../../gio/gfileinfo.c: line 1632 (g_file_info_get_is_hidden): should not be reached


    Code:
    apt dist-upgrade
    is cooking and I'll autoremove after that. Is there anything else I can do to finalize or clean up this upgrade since the initial do-release-upgrade didn't complete normally?

  4. #4
    Join Date
    Jul 2010
    Beans
    4

    Re: 22.04 to 24.04 upgrade completed with errors. Unusable state warning.

    Thanks for following up on this problem and taking the time to write down the solution. I had the same problem and managed to solve it in a similar way based on this thread, though the exact libglib2 download link is dead by now and I had to also install some dependencies manually since it wouldn't install otherwise. Also afterwards the dist-upgrade removed a lot of packages for me that shouldn't be removed (e.g. ubuntu-desktop + dependencies) so I'm going to have to reinstall some stuff manually.

    I also had the "X11 connection rejected because of wrong authentication." messages due to connecting with ssh X forwarding enabled. This may have been the main problem as i believe that it triggered some code paths that would normally open up X11 window dialogs for user interaction but that wasn't possible and for some reason it got the upgrade into a place where it couldn't recover...

    I guess this can be considered a bug in do-release-upgrade, but in the unlikely case that someone reads this before making the same mistake: Don't attempt a release upgrade over ssh with X forwarding enabled.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •