2

I have added this repository ppa:gurqn/systray-trusty to my Ubuntu 14.04.

After this I performed an apt-get update and apt-get upgrade. But soon after I decided to remove installed packages from this repository via the Ubuntu Software Center.

One of the packages seems to be a patch in the ubuntu-desktop package and that's probably how I uninstalled ubuntu-desktop.

I'm a newbie in Ubuntu and all my conclusions are deduced from the forums I visited today trying to fix my problem. So, it seems that I have uninstalled my ubuntu-desktop package, after which I performed apt-get auto-remove (please, don't ask me why). This seems to be the final action which made me loose the Desktop GUI on Ubuntu.

After that, I have performed apt-get update, apt-get upgrade, apt-get update --fix-missing, apt-get install ubuntu-desktop, apt-get install unity under safemode.

The Guest Session Account had its Desktop GUI back to normal, but this is not the case with my personal Ubuntu account. It still has no Desktop GUI.

I decided to remove the ppa:gurqn/systray-trusty repository because it seems to provide some of the dependencies and to reinstall ubuntu-desktop and unity packages but during installation I have some issues with dependencies:

sudo apt-get install -f --reinstall ubuntu-desktop unity

Reading package lists...
Building dependency tree...
Reading state information...
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:
 unity : Depends: libunity-core-6.0-9 (= 7.2.3+14.04.20140826-0ubuntu1) but it is not going to be installed
     Recommends: unity-lens-applications but it is not going to be installed

E: Unable to correct problems, you have held broken packages

Any help will be appreciated. Thank you!

Fabby
  • 34,259

2 Answers2

1

Type these commands:

  1. sudo apt-get autoclean
  2. sudo apt-get clean
  3. sudo dpkg --configure -a
  4. sudo apt-get update

If it doesn't solve the issue, type sudo apt-get dist-upgrade as the 5th step from the above. I hope it can rectify the issue.

Wolverine
  • 654
  • I did run all of the steps and didn't encountered any errors but still have the same issue. After I rebooted, I tried to run again apt-get install ubuntu-desktop and APT reports the same error message. – 0xC0DEGURU Dec 27 '14 at 17:17
  • 1
    You will have to remove the package libunity-core-6.0-9 and proceed with the command. – Wolverine Dec 27 '14 at 17:35
  • Ok, I removed unity-services pakage which alowed me to reinstall ubuntu-desktop and unity succesfuly, but I have still the same issue: I see only icons on my desctop and a mouse coursor. The mouse context menu also works. – 0xC0DEGURU Dec 27 '14 at 18:21
  • Reboot the system and check once. – Wolverine Dec 27 '14 at 18:25
0

I had to remove unity-services package which alowed me to reinstall ubuntu-desktop and unity successfully. After reboot Unity didn't start because it was disabled and probably wrongly configured. I installed CompizConfig Settings Manager which I used to enable Ubuntu Unity Plugin with. Check this post to see how to enable Ubuntu Unity Plugin and reset it to default configuration. Issue is solved. Thank you all for your help. Happy holidays!