Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am unable to install any software using sudo command;

rahul@rahul-VPCEA33EN:~$ sudo apt-get install vlc
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
share|improve this question

Run the below commands on terminal to install vlc,

 sudo rm /var/lib/dpkg/lock
 sudo rm /var/lib/apt/lists/lock
 sudo apt-get install vlc
share|improve this answer
I'd check WHAT is using the files right now before radically removing lock files. – Gerald Schneider Nov 12 '13 at 10:59

That's because you have another process locking that resource, another instance of apt-get in a different terminal or even the graphical software center, synaptics, ubuntu-software-center ...

share|improve this answer

Your Answer


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

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