If you also this error when trying to use
apt-get
: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?
Then you are at the right place I will tell you how to solve this issue?
Solution:
You can try following steps:
1) You can delete the lock file with the following command:
sudo rm /var/lib/apt/lists/lock
2) You may also need to delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
Hopefully it will work for you thanks........
Unable to lock the administration directory | Ubuntu Problem [SOLVED]
Reviewed by Sumit Bishnoi
on
November 28, 2019
Rating:
No comments: