How to fix E: Could not get lock /var/lib/apt/lists/lock problem
if you get this line in terminal
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?"
1) type
sudo rm -r /var/lib/dpkg/lock
sudo apt-get update
2) if it is not work then first go to root and then type
rm -r /var/lib/dpkg/lock
apt-get update
3) if this command not work then type
sudo fuser -vki /var/lib/apt/lists/lock
Comments
Post a Comment