How to unlock APT Manager on Ubuntu 14.04

In some case we cannot install other packages on Ubuntu 14.04 or any other Ubuntu version and derivatives because of locked apt manager by the system. To get this working we need to manually reboot the system. And I know its a bit frustrating if everytime we have to reboot.

But here I want to share how to solve this locked package manager on Ubuntu. When your apt manager was locked, simply execute the following commands to release it. So we can continue installing other packages without having to reboot.

sudo rm -rf /var/lib/dpkg/lock 
sudo dpkg –configure -a

That’s it. Try this if you have your package manager locked by the system. Thank you for reading this How to unlock APT Manager on Ubuntu 14.04


Leave a Reply

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