Saturday, December 5, 2015

fix E: Could not get lock /var/lib/apt/lists/lock problem

Problem
  • error when use 
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/
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?
Solved
sudo su
sudo rm /var/lib/apt/lists/lock && sudo apt-get update
Ref
  • http://linuxhalwa.blogspot.com/2013/11/how-to-fix-e-could-not-get-lock.html
  • http://ubuntuforums.org/showthread.php?t=1631059

No comments:

Post a Comment

Popular Posts