I lost my unity 3d , and I want to install back , but when I want to install it back, it turn out to be this way..

utm@utm:~$ 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: compiz-core-abiversion-20110828
E: Unable to correct problems, you have held broken packages.

is there any way around to fix this thing.. ? broken packages...I don't know where to search more... thanks in advanced.


Use aptitude to resolve problems, it's better then apt-get.

sudo apt-get install aptitude
sudo apt-get update && sudo aptitude -f install && sudo aptitude dist-upgrade
sudo aptitude install unity

also run this (which'll save you some time in the future). When holding [Alt] and typing ai inserts sudo aptitude install under cursor :-)

echo  "\"\\ea\\ei\": \"sudo aptitude install \"" >> ~/.inputrc

This is quite normal for a development version.

sudo apt-get update
sudo apt-get dist-upgrade

Afterwards you should be able to install unity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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