2

Having trouble with software center. it says Canceling but does nothing.

I get

E: 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?

I tried a hard reboot and the problem still exists. Thanks for your help

guntbert
  • 13,475

1 Answers1

2

You can try

sudo killall apt-get

if this doesn't work, try to manually remove the lock:

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update