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?
Asked
Active
Viewed 78 times
-1

Dan
- 6,753
- 5
- 26
- 43
-
313.10 is end of life so support from AskUbuntu ended. Please upgrade to 14.04. – Rinzwind Aug 22 '14 at 12:48
-
@Rinzwind Hi:) how do you know this is for 13.10 ? is that error appear only on 13.10 ? – Mohammad Reza Rezwani Aug 22 '14 at 13:25
-
4@lion That is the fun part about tags :) – Jacob Vlijm Aug 22 '14 at 13:29
-
1@JacobVlijm oh yes :D – Mohammad Reza Rezwani Aug 22 '14 at 13:31
2 Answers
1
You can get this if you have some kind of package manager running at the same time. Only one process can access package management at a time. Has hit me a couple times when I forgot about it.

ernoh
- 125
1
Try to delete lock file with command:
sudo rm /var/lib/dpkg/lock
-
1That seems like it could be dangerous: lock files exist for a reason. – evilsoup Aug 22 '14 at 14:17