This question already has an answer here:
when I try to apt-get update I'm getting the below error,
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
|
This question already has an answer here: when I try to apt-get update I'm getting the below error,
|
||||
marked as duplicate by Ten-Coin, Radu Rădeanu, stephenmyall, Eric Carvalho, guntbert Aug 24 '13 at 11:33This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
||||
|
This just means that there is an application using apt. First try to find out which application it is by using this command in the terminal
If there is a process running using apt (like apt-get or aptitude), the best thing to do is just to let it finish what its doing. Otherwise you can kill it using
After making sure there is no process or killing it, you can just remove the lock using
|
|||||||||
|
/var/lib/apt/lists/lockrather than/var/lib/dpkg/lock. – gertvdijk Aug 22 '13 at 12:47/var/lib/apt/lists/lock, and the answer I refrenced also is about/var/lib/apt/lists/lockas well, especially the 4th and 11th answers. – Mitch♦ Aug 22 '13 at 12:54