Public bug reported:
**Environment**
- Upgraded from Ubuntu 22.04 (jammy) to 24.04 (noble). Now on: Ubuntu 24.04.5
LTS (`lsb_release -rd`)
- ubuntu-release-upgrader-core / -gtk: 1:24.04.29
- libglib2.0-0t64: 2.80.0-6ubuntu3.10
- Desktop: GNOME on Wayland, GDM
**Release upgrade:** Ubuntu 22.04 → 24.04 using the GUI (DistUpgradeViewGtk3),
ubuntu-release-upgrader 24.04.29. Desktop: GNOME on Wayland, AMD GPU.
### What happened
1. The upgrade started 2026-11-30 23:34. During cache.commit(), `libglib2.0-0`
was removed. Its replacement, `libglib2.0-0t64`, stayed **unpacked but not
configured** (`iU`) for about 10 hours.
2. At 00:59 the thunderbird transitional package's preinst opened a debconf
whiptail note ("Upgrade to the thunderbird snap"). It appeared only inside the
**collapsed "Terminal" expander** of the upgrade window. Nothing brought it to
the user's attention; main.log only logged `WARNING no activity on terminal for
300 seconds`. The upgrade waited on that prompt for about 9.5 hours.
3. While the upgrade was waiting, the user locked the screen (Super+L), which
is a normal thing to do when leaving a long-running upgrade. Nothing warned
against it. Every unlock or login attempt then failed silently. The password
was accepted, but nothing happened, because the PAM helpers could not start:
```
gdm-session-worker [pam/gdm-password]: error while loading shared libraries:
libgobject-2.0.so.0: cannot open shared object file: No such file or directory
```
(about 180,000 of these lines in the journal). Switching to a TTY didn't
help either: `loginctl unlock-session` fails because `/bin/pkttyagent` hits the
same missing library.
**To an ordinary user the machine looks bricked: correct password, no
login.** Power-cycling at this point, mid-dpkg, would likely leave the system
unbootable.
4. After the prompt was answered, the thunderbird preinst failed for the same
root cause:
```
- Make snap "thunderbird" (1346) 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 ...
new thunderbird package pre-installation script subprocess returned error
exit status 1
```
That left `thunderbird-locale-en`, `-en-gb` and `-en-us` with "dependency
problems - leaving unconfigured", and the whole upgrade aborted
(`installArchives() failed`) after all the other packages had installed. The
post-upgrade cleanup never ran.
5. A further debconf note (resolvconf postrm, "Reboot recommended") again
blocked silently: pressing Enter in the terminal expander did nothing, and the
actual dialog was a separate window.
### Expected
- GLib (and other core libraries that PAM/GDM/polkit helpers depend on) should
never be absent for a long stretch. If the upgrade does pass through such a
window, it shouldn't stop for interactive prompts during it.
- Interactive debconf/whiptail prompts should be clearly visible: raise or
expand the terminal, notify, or present them up front.
- The upgrader should inhibit locking (or at least warn "don't lock the
screen") during the window when authentication can't work. Right now a manual
lock is unrecoverable through any normal means: GDM, the TTY + loginctl and
polkit all fail.
- A failing *transitional* package (thunderbird → snap) shouldn't abort the
whole release upgrade.
### Workaround that recovered the system
- Unlocked the existing session over D-Bus without authentication: `dbus-send
--session --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver
org.gnome.ScreenSaver.SetActive boolean:false`. Then answered the prompt in the
upgrade window.
- After the abort: `apt remove thunderbird thunderbird-locale-en
thunderbird-locale-en-gb thunderbird-locale-en-us`, `dpkg --configure -a`, `apt
-f install`, `snap install thunderbird`. The system then booted 24.04.5 on
6.8.0-151 fine.
### Timeline (main.log)
- 23:34:35 upgrade started (release-upgrader 24.04.29)
- 00:54:22 cache.commit()
- 01:04:31 WARNING no activity on terminal for 300 seconds (Removing
thunderbird-gnome-support)
- ~10:30 session unlocked (workaround); Thunderbird prompt answered
- 10:34:26 ERROR thunderbird preinst exit status 1
- 10:45:56 WARNING no activity on terminal for 300 seconds (resolvconf note)
- 11:05:13 ERROR installArchives() failed → upgrade aborted
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: dist-upgrade jammy2noble
** Attachment added: "Upgrader main.log (hostname and package lists redacted)"
https://bugs.launchpad.net/bugs/2178497/+attachment/6022305/+files/main-redacted.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178497
Title:
jammy→noble upgrade: GLib is missing for hours while a debconf prompt
waits, so the lock screen/GDM can't authenticate and the Thunderbird
snap transition fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2178497/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs