DEV Community

JPL
JPL

Posted on • Updated on

Error after upgrade on Ubuntu 24.04 "Oh no! Something went wrong"

Before upgrading on new version BACKUP ALL DATA!!!

I upgraded to Ubuntu 24.04 (from Ubuntu 22.04).

After rebooting and login on my account I saw white background with message "Oh no! Something went wrong!". I tried to Log out, but it was not successful.

Solutions I read included next steps:

  1. Before Log out, press next CTRL+ALT+F3. Login with your credentials and password.

  2. Execute commands (of your wifi is disabled, then plug-in cable)

    sudo apt-get update && sudo apt-get upgrade
    
    sudo dpkg --configure -a
    
    sudo apt-get clean && sudo apt-get autoremove 
    
    sudo reboot 
    

If these steps doesn't resolve your problem, then execute these commands. Use again CTRL+ALT+F3

    sudo apt --fix-broken install

    sudo dpkg --configure -a 

    sudo apt-get update

    sudo reboot 
Enter fullscreen mode Exit fullscreen mode

This solution worked for me in error message "Oh no!Something get wrong."

Did you have other errors in upgrading on Ubuntu 24.04? How did you resolved problems?

If this was helpful share it with others to help each other.

TIP Additional which worked for others is command:

   sudo apt reinstall ubuntu-desktop
Enter fullscreen mode Exit fullscreen mode

Top comments (6)

Collapse
 
antonio_albiol_70049a1089 profile image
Antonio Albiol

Hi,
none of the above tips worked for me.
The solution was:
sudo apt reinstall ubuntu-desktop

For some reason some critical packages had disappeared and then Gnome could not start

Collapse
 
justplegend profile image
JPL

Thank you Antonio on additional tips for solution. This one worked for me.

But I will added also this your solution, maybe it will work for someone other.

Collapse
 
samuel_mbugua_c36776389c4 profile image
Samuel Mbugua

It worked. Phweks. Thank you

Collapse
 
klo2k profile image
klo2k

For me it was bugs.launchpad.net/ubuntu/+source/...

If you're using nvidia + x11 check journalctl --boot for gnome-shell[2799]: No cursor theme available, please install a cursor theme.

Fix:

gsettings reset org.gnome.desktop.interface cursor-theme
Enter fullscreen mode Exit fullscreen mode
Collapse
 
vegan_rene profile image
René Pihlak

Ended up doing a clean install. Not only "something went wrong", but I was also unable to connect to internet to do get new packages.

Collapse
 
justplegend profile image
JPL

My wifi worked...at least something good. It was not worked internet using cable for ethernet?