Desktop environment isn't working after trying to install GNOME 40
I have installed Ubuntu 21.04 on my Laptop, everything with the DE was fine till now. I saw a video on YouTube showing the new Gnome 41. I wanted to install that. I didn't found a tutorial to install that one but I found one for Gnome 40. So I thought I could install that and then upgrade it. After following this Tutorial, my system corrupted. That means that when I start it up, it only shows a sad emoji with the text Oh no! Something went wrong. A problem has occurred and the system can't recover. Please contact a system administrator. This happened after I typed
sudo add-apt-repository ppa:shemgp/gnome-40and pressed enter to install it and then installed gnome-session like it recommended it in the page that the above command showed like this:
sudo apt install gnome-session -yafter that I Logged out and got that screen like I described earlier. I am able to go into my console by pressing Ctrl+Alt+F5 and then I tried uninstalling the gnome-session thing with:
sudo apt remove gnome-sessionI also tried to to remove the repository, but there it was just more trial in error:
sudo apt-add-repository -r ppa:shemgp/gnome-40I don't even know if this command existr like that Hope you can help me ASAP and if you need more info, just say it. I could also share the command history if you want to. Output of
grep -ir MasterSoft24 /etc/apt --include="*.list"is
/etc/apt/sources.list.d/home:MasterSoft24.list:deb / 0 1 Answer
Removing repository with sudo apt-add-repository -r ppa:shemgp/gnome-40 will not downgrade the packages to their stock versions.
You have to use ppa-purge instead.
So you have to re-add the problematic PPA by
sudo apt-add-repository ppa:shemgp/gnome-40then install ppa-purge by
sudo apt-get install ppa-purgeand finally revert all GNOME packages to their official versions using
sudo ppa-purge ppa:shemgp/gnome-40Then reboot.
12