then we must want to clear the locked directories, here have some commands
#sudo rm /var/lib/apt/lists/lock
#sudo rm /var/cache/apt/archives/lock
#sudo rm /var/lib/dpkg/lock
-----------
another method kill the process manually
#ps aux | grep apt
..
.
.
#kill -9 Process_number(tasknumber)
--------------
ps -e | grep -e apt -e adept | grep -v grep
--------------
#sudo rm /var/lib/apt/lists/lock
#sudo rm /var/cache/apt/archives/lock
#sudo rm /var/lib/dpkg/lock
-----------
another method kill the process manually
#ps aux | grep apt
..
.
.
#kill -9 Process_number(tasknumber)
--------------
ps -e | grep -e apt -e adept | grep -v grep
--------------
0 Comments