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 trying to run sudo apt-get update but getting below mentioned error .. do you think there is any issue with Ubuntu's installation?

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?

Your help is highly appreciated ...Thanks

share|improve this question
Is synaptic running? Is Update Manager running? Is the Software Center updating or installing software right now? – Thomas Ward Jul 16 '13 at 18:22

Try this. Make sure that Synaptic, and update manager are not running.

Then, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo rm /var/lib/dpkg/lock
share|improve this answer
It is not a good idea to delete this lock, just make sure that Synaptic and others are not running is sufficient – Benoît Legat Jul 16 '13 at 19:12

You have many programs that can install software and you can have problem if they try to do it simultaneously. That's where this lock comes handy, it allows the different process not to deal with dpkg at the same time. So just make sure that the Ubuntu Software Center, Synaptic and the Software Updater are closed.

share|improve this answer
Just to add that the file could be locked by the automatic update tool (either for refreshing the software cache or installing security updates). – papukaija Jul 16 '13 at 21:32

You are installing some other programs in the background. Ubuntu only supports one installation at time

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.