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.

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

2 Answers 2

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

 
discard

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.