Thursday, May 27, 2010

How to fix lock /var/lib/dpkg/lock error

If ever you will encounter this problems

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/)

based on my experience, I install some software when a blackout interrupted it. I could not install or issue the command apt-get install xxx and/or aptitude install xxx.

What i did to solve it just issue the command in the console

sudo killall apt-get

viola it solved the problems..

Hope it helps to your problem.




No comments: