Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running Ubuntu 13.04. After running a normal upgrade, Unity disappeared (after login, I have the desktop, without the launch abd status bar, no dash, etc.).

If I try to reinstall ubuntu-desktop, I get unmet dependencies:

vmalep@x220t:/mnt/sda2/home/vmalep$ sudo apt-get install
ubuntu-desktop    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 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Unity is a bit more explicit:

vmalep@x220t:/mnt/sda2/home/vmalep$ sudo apt-get install unity
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.
unity : Depends: libunity-core-6.0-5 (= 7.0.0daily13.04.18~13.04-0ubuntu1) but it is not going to be installed
  Depends: unity-common (= 7.0.0daily13.04.18~13.04-0ubuntu1) but 7.0.0daily13.05.16ubuntu.unity.experimental.certified-0ubuntu1 is to be installed
  Recommends: gnome-control-center-unity but it is not going to be installed
  Recommends: unity-lens-friends but it is not going to be installed
  Recommends: unity-lens-shopping but it is not going to be installed
  Recommends: indicator-bluetooth but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
share|improve this question
    
It is probable that you added some ppa. I think it could be solved with ppa-purge. Do you know which ppa have you installed recently? –  desgua May 19 '13 at 19:30
1  
Hi Desgua, You are right, this was linked to the "experimental certified" option I had installed (and maybe not properly removed): omgubuntu.co.uk/2013/05/unity-previews-enhanced-toggles. I reinstalled it and then, removed it with ppa-purge and it is now sovled. –  vmalep May 20 '13 at 6:09
    
Great! Now you can answer your own question to help others users that came here or I can do that for you ;-) –  desgua May 20 '13 at 11:10
add comment

3 Answers 3

To install unity, first you have to install all Recommends one by one using sypnatic package manager. In sypnatic package manager search for gnome-control-center-unity, unity-lens-friends and all other recommends. After installing all recommends try to install unity as before then unity will install.

share|improve this answer
add comment

The output shows that you have a more recent package than what Unity depends:

unity : Depends: libunity-core-6.0-5 (= 7.0.0daily13.04.18~13.04-0ubuntu1)  

It is caused most probably by a ppa. Check the latest ppa that you have added and then remove it with ppa-purge.

share|improve this answer
add comment

Try these commands:

sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get build-dep ubuntu-desktop

This should re-install the Ubuntu desktop and build the dependencies.

Hope this helps.

share|improve this answer
add comment

protected by Community Mar 20 at 13:17

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.