Hi,

we have the same reproducible behavior with the Thunderbird package that
transitions from deb to snap when upgrading from 22.04 to 24.04 with do-
release-upgrade.

In summary, the upgrade fails with this in the apt-term.log file:

Removing thunderbird-gnome-support (1:128.12.0+build1-0ubuntu0.22.04.1) ...
Preparing to unpack .../thunderbird_2%3a1snap1-0ubuntu3_amd64.deb ...
=> Installing the thunderbird snap
==> Checking connectivity with the snap store
==> Installing the thunderbird snap
Ensure prerequisites for "thunderbird" are available
Download snap "gnome-42-2204" (202) from channel "stable"
[...]
Mount snap "gnome-42-2204" (202)
error: cannot perform the following tasks:
- Make snap "thunderbird" (796) available to the system (cannot cleanup failed 
attempt at making snap "thunderbird" available to the system: cannot 
update-desktop-database "update-desktop-database: error while loading shared 
libraries: libglib-2.0.so.0: cannot open shared object file: No such file or 
directory\n": exit status 127)
- Make snap "thunderbird" (796) available to the system (cannot 
update-desktop-database "update-desktop-database: error while loading shared 
libraries: libglib-2.0.so.0: cannot open shared object file: No such file or 
directory\n": exit status 127)
dpkg: error processing archive 
/var/cache/apt/archives/thunderbird_2%3a1snap1-0ubuntu3_amd64.deb (--unpack):
 new thunderbird package pre-installation script subprocess returned error exit 
status 1
Errors were encountered while processing:
 /var/cache/apt/archives/thunderbird_2%3a1snap1-0ubuntu3_amd64.deb
Log ended: 2025-09-15  13:13:35

Thanks,
Charles

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2078443

Title:
  Upgrade from 22.04 to 24.04.1 failed - firefox package

Status in firefox package in Ubuntu:
  Invalid
Status in snapd package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  Triaged

Bug description:
  Trying to upgrade my updated 22.04 to 24.04 using do-release-upgrade -d
  Upgrade failed 
  Errors were encountered while processing:
   /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu5_amd64.deb
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/firefox.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
  /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)

  Description:    Ubuntu 22.04.4 LTS
  Release:        22.04

  firefox:
    Installed: 129.0.2+build1-0ubuntu0.22.04.1~mt1
    Candidate: 1:1snap1-0ubuntu5
    Version table:
       1:1snap1-0ubuntu5 500
          500 http://fr.archive.ubuntu.com/ubuntu noble/main amd64 Packages
   *** 129.0.2+build1-0ubuntu0.22.04.1~mt1 100
          100 /var/lib/dpkg/status

  I don't use firefox snap package as my home directory is in /nethome/ and not 
in /home/
  (is there a way to fix this ?)
  I had to remove the firefox snap package and install firefox using dpkg.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2078443/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to