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

Hi I installed a program ant between install it disconnected from internet and when I want to install program i can not and give this error what shoud I do?

Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

share|improve this question
up vote 0 down vote accepted

Remove the lock file and try again

rm /var/lib/dpkg/lock


apt-get install <package-name>
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.