linux:apt_lock

Cannot run apt-get update

When attempting to check for updates on Linux Mint 15, you have get the following error:

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

In order to correct this, execute the following:

sudo rm /var/lib/apt/lists/* -vf 
sudo apt-get update

Doing so should remove the lock file and allow you to run the update process.

  • linux/apt_lock.txt
  • Last modified: 2017/12/13 17:34
  • (external edit)