Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
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 57 times
-1

George Udosen
- 36,677

Carmela
- 1
1 Answers
0
The following phrase in your posted question is another process using it?
is probably a good hint at the actual problem.
Your described problem is most likely caused by another apt-get
or dpkg
instance, which can for example happen if you're upgrading packages in one terminal and at the same time execute apt-get update
in another.
@Feldspar15523 basically answered this one already.

Christian Heinrichs
- 151
- 1
- 1
- 12
sudo dpkg --configure -a
– nullmeta Apr 26 '17 at 02:39dpkg
orapt
. Add the output ofpgrep apt
andpgrep dpkg
. – Feldspar15523 Apr 26 '17 at 03:00