Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.