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 accidentally purge Ubuntu-desktop package like so (log file)

Commandline: apt-get purge nvidia-* Purge: ubuntu-desktop:i386
(1.267.1), nvidia-common:i386 ( End-Date: 2013-11-15 

Start-Date: 2013-11-15  10:18:43 Commandline: apt-get install
nvidia-current-updates Install: nvidia-settings-304-updates:i386
(304.88-0ubuntu0.0.3, automatic), nvidia-current-updates:i386
(304.88-0ubuntu0.0.3), dkms:i386 (,$ End-Date:
2013-11-15  10:20:18

Now when I try to sudo apt-get install ubuntu-desktop, there is a bunch of unmet dependencies. apt-get -f install does not solve it.

share|improve this question
And those dependencies are? What is the output of sudo apt-get check? –  Braiam Nov 15 '13 at 21:43
it seems like my -f install fails because of this E: Could not get lock /var/cache/apt/archives/lock. I just killed the APT process running in the background -- we'll see how it goes. –  Heisenberg Nov 15 '13 at 21:49
well, then sudo rm /var/cache/apt/archives/lock and try again. –  thom Nov 16 '13 at 0:26
yup got everything working. Thanks! –  Heisenberg Nov 16 '13 at 0:37
did you solve your prob? –  Avinash Raj Nov 16 '13 at 6:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.