Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.