I have Ubuntu 15.10 with unity installed, and then tried to install gnome 3 a week ago. Everything worked just fine, but after a week i thought i would revert to unity since i liked it better.
First i just logged out, chose unity and then logged in again. This brought me in unity, but with flaws. The top panel was there and the sidebar, but there were no desktop (as in no background image, no items on the desktop even though i know there are some there)
I thought i would uninstall gnome 3, but something must have gone wrong, because now when i get into unity i have a background but still not anything on my desktop, and whenever i try to connect a second screen unity freezes and the cpu goes crazy.
I must have uninstalled some packages and dependencies that should have stayed, but now i dont know how to get it back to be fully functional again
so is there a way to reinstall unity from scratch or just fix it?
Sudo apt-get install -f output:
~$ sudo apt-get install -f
[sudo] password for mads:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.2.0-30 linux-headers-4.2.0-30-generic
linux-image-4.2.0-30-generic linux-image-extra-4.2.0-30-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
And sudo apt-get check:
~$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
And sudo apt-get install ubuntu-desktop -s
~$ sudo apt-get install ubuntu-desktop -s
[sudo] password for mads:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ubuntu-desktop : Depends: unity-control-center but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install -f
. If you can't open one, tell me. – TheWanderer Mar 17 '16 at 12:40sudo apt-get purge unity-*
? – TheWanderer Mar 17 '16 at 13:08I purged unity-* from tty1, then installed unity again (with unity, not ubuntu-desktop). Since that didnt work i then installed gnome too from tty1, but when booting with gdm i was unable to log in. Using lightdm to log into gnome however works fine.
I think the solution might end up beeing a full reinstall of ubuntu, but at least now i have a working setup so i can do the reinstall when i got time.
Would prefer a non reinstall solution :/
– Xorthos Mar 17 '16 at 15:52