0

before you ask, I have searched and have not found a solution, despite reading the answers to several similar questions (question 1517643 is spot on, but doesn't appear to have any answers; other questions were asked before the stable 24.04 release). Plenty of suggestions, but no certainty.

So, I was on 22.04 (Jammy), and I wanted to update to 24.04 (Noble). I successfully ran apt-get update, rebooted, and ran a do-release-upgrade.

Everything looked good, but after a while it popped a screen saying that it couldn't reach the snap for Thunderbird. The options included continuing or aborting. I carefully chose Abort, but it appeared to continue the upgrade (!!). 2 minutes later it said the upgrade had been completed with errors.

After checking AskUbuntu re. the Thunderbird/Snap issue, I figured I could fix that, so I rebooted. Bad move. Now I have the grey screen with "Oh no! Something has gone wrong.".

Should I reboot to recovery mode, and if so, what can I do to fix the problem?

Thanks in advance for all helpful suggestions.

John

John M.
  • 31

1 Answers1

0

I faced a similar issue with Firefox when I upgraded to 24.04. The problem was related to me changing back to the deb package of Firefox instead of the snap version and forgetting about it.

During the upgrade, non-official repositories get disabled automatically. After starting the upgrade, it fails to upgrade the Firefox deb package because its upgrade script expects to upgrade a snap version that doesn't exist on your system. Which causes the rest of the upgrade to halt and in a way, "break" the system.

sudo apt remove thunderbird

PS. Avoid using autoremove and purge until you recover your system.

To fix it, you must boot into recovery mode and uninstall Thunderbird. You can revert the package to whatever it was before the upgrade, but it's probably easier to remove it, so you won't need to mess with the repositories. To be safe, back up your profile in the ~/.mozilla/thunderbird directory (I think that's where it's located).

Once you have removed Thunderbird, you retry to continue the installation and reinstall it after it's done and the system is restored:

sudo apt update
sudo apt-get -f install

If that succeeds, restart your system in normal mode. Then, reinstall Thunderbird and clean up after the upgrade.

sudo apt install thunderbird
sudo apt autoremove
Dan
  • 14,180