Press "Enter" to skip to content

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


To solve this issue when trying to apt-get your Ubuntu Linux use these commands:

Option 1:

sudo rm /var/lib/apt/lists/lock

Maybe it is also needed to:

sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

Option 2:

ps aux | grep apt
sudo kill processId


Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *