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.

While installing package I'm getting this error.

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
share|improve this question

marked as duplicate by Eric Carvalho, user68186, belacq, Alaa Ali, Kevin Bowen Sep 12 '13 at 18:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

simply remove the lock file use the command in terminal

To open terminal press Ctrl + Alt + T

sudo rm /var/lib/dpkg/lock

then install the package you want

sudo apt-get install <package-name>
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.