A
A
Azizka2016-11-17 10:53:00
linux
Azizka, 2016-11-17 10:53:00

What could be the problem with dpkg?

I enter apt-get update , it gives this alert
E: Failed to access lock file /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists /
E: Failed to access lock file /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Failed to lock control directory (/var/lib/dpkg/); is it already in use by another process?
I tried to find these processes in top , and then did a kill of the processes where dpkg was, entered apt-get update again and nothing changed. Xubuntu 16.04.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergei Nazarenko, 2016-11-17
@Azizka

sudo fuser -vki /var/lib/dpkg/lock

D
Dmitry, 2016-11-17
@dmtrrr

sudo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question