Ok so here is the problem in short: I run ubuntu 14.04 LTS with two desktop environments: Gnome which i usually use and spectrwm. I removed gnome (followed instructions from somewhere) and left out with spectrwm. I accidentally ran the following command: "sudo apt-get remove unity* ubuntu-desktop" Which caused a disaster (cant access any desktop environment even spectrwm, running on low graphics mode, ...) so how do I revert my last command ? By the way I tried to reinstall ubuntu-desktop and it gave me unmet dependencies errors, I did not try installing any unity package because I do not know which packages got removed because of this command.
Thank you all I really appreciate your help.
unity*
andubuntu-desktop*
to all possible packages, selected all matching packages to be removed and also removed those packages which are dependencies of above selected packages. This would be a big blow to the system, so no wonder it went into low graphics mode. What you have to do is check the logs, see which packages were removed and install them. – Registered User Jun 20 '14 at 12:15i tried installing ubuntu-desktop using apt-get and got the following:
The following packages have unmet dependencies: ubuntu-desktop : Depends: ubuntu-session but it is not going to be installed Depends: unity-control-center but it is not going to be installed Depends: unity-settings-daemon but it is not going to be installed Recommends: xul-ext-webaccounts but it is not going to be installed E: Unable to correct problems, you have held broken packages
– Hussein Hammoud Jun 20 '14 at 13:42