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

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

When trying to install any package in a terminal, I get the following error

Not possible to block /var/lib/dpkg/lock - open (11: Temporaly not available resource )

This started happening after trying to install Microsoft font libraby. It stopped at:

"ttf-mscorefonts-installer" configuration window
share|improve this question

This has already been answered - Fixing Could not get lock /var/lib/dpkg/lock. Just run:

sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock
share|improve this answer

Hey the problem is simple probably your previous installation of software was interrupted.Hence the lock file is still locked by the previous installation.Do this thing it may help try again to install the software ,if still the error comes then reboot the system and try the software center to install a software.

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.