There were updates offered by Ubuntu and I installed them. After that the Ubuntu desktop GUI hasn't been working correctly and it freezes frequently. Moreover, instead of having the Ubuntu startup screen like below, only a blank gray screen comes, then on the desktop instead of wallpaper, only a black background is applied.
I also tried this sudo apt-get install ubuntu-desktop
but get thee results shown below.
The following packages have unmet dependencies:
ubuntu-desktop : Depends: checkbox-gui but it is not going to be installed
Recommends: python3-aptdaemon.pkcompat but it is not going to be installed
Recommends: unity-webapps-common but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried to install checkbox-gui
, then it gives another unmet dependencies error message, than another then another.
TL;DR:
Always remove PPAs with
ppa-purge
Whole story:
Yesterday I wanted to try KDE Plasma and I installed it with following commands:
After hour I decided to switch back to Unity and remove KDE:
After login I was facing few problems, so I tried reinstalling
ubuntu-desktop
andunity
, but I was getting error:Some digging and I found out what cause it: removing PPA does not downgrade packages. The solution was to add it again and execute:
And then I was able to reinstall
ubuntu-desktop
:)Below commands solve the my issue,
unity --replace sudo apt-get install --reinstall unity sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y