Blog‎ > ‎

Can't get lock

If you ever get this message:

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory

Then do this:

$ sudo rm /var/lib/dpkg/lock
$ sudo rm /var/cache/apt/archives/lock

Comments