Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:apt_lock [2017/12/13 17:34] (current)
Line 1: Line 1:
 +====== Cannot run apt-get update ======
 +When attempting to check for updates on Linux Mint 15, you have get the following error:
 +<code console>
 +~$ 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/​
 +</​code>​
 +
 +===== Solution =====
 +In order to correct this, execute the following:
 +<code console>
 +sudo rm /​var/​lib/​apt/​lists/​* -vf 
 +sudo apt-get update
 +</​code>​
 +
 +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)