Third party cookies may be stored when visiting this site. Please see the cookie information.

Home Family Days Out Raspberry Pi & Electronics Blog

Stewart's Blog

Stewart Watkiss website to the world ...

(Children, computing, first aid and other ramblings ...)

Oh no! Something has gone wrong. Ubuntu upgrade 21.04 to 21.10 fails – here’s how to fix it.

I recently upgraded my laptop from Ubuntu 21.04 to Ubuntu 21.10. Unfortunately it failed with the message:

Oh no! Something has gone wrong.
A problem has occured and the system can’t recover. Please log out and try again.

This sounded like it would leave the system unusable, but by switching to a terminal and booting into recovery mode I managed to fix this. This is explained in the video below:

This is a summary of the commands that I issued:

New terminal:
Check that the upgrade wasn’t running

Boot into recovery mode with root shell
Configure the packages that were partially installed
dpkg --configure -a

Fix broken packages
apt --fix-broken install

Restart the upgrade
apt upgrade

Install Displaylink Drivers (see below).

Use Ubuntu upgrade tool

Install Firefox
sudo snap install firefox

Or to continue with debian dpkg firefox (faster startup)
sudo apt install firefox

Oh no! Something has gone wrong. Ubuntu upgrade fail

Also see the following video for how to install the DisplayLink drivers on Ubuntu (21.04+).

Please leave comments using the facebook comments below.

UK days out, children and holiday information is also available on the Days Out Diary web site
Linux, LPI and the Quiz / Test Program posts are also available on the Penguin Tutor website
First Aid Information, first aid games and first aid practice test / quiz entries are also available on the First Aid Quiz Web site