1. Home
  2. Technical Knowledge - TT Team Only
  3. Ticketing Solutions in Care Portal
  4. unable to lock the administration directory (/var/lib/dpkg/) is another process using it

unable to lock the administration directory (/var/lib/dpkg/) is another process using it

Solution:

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

Updated on March 15, 2018

Was this article helpful?

Related Articles