Unlock the Apt Install Manager

In Ubuntu / Linux Mint / Debian and others Debian based Linux distributions, when an installation with apt-get freezes, the apt install managere gets locked.

Watch Free Movies

This is the error you get when an installation fails:

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

To unlock the package apt manager, you need to delete this two files: /var/lib/apt/lists/lock and /var/cache/apt/archives/lock.

$ sudo rm /var/apt/lists/lock
$ sudo rm /var/cache/apt/archives/lock

Scroll to Top