michaelp0730
10/6/2014 - 6:43 PM

Steps to remove a dpkg lock

Steps to remove a dpkg lock, kill the process, then reconfigure dpkg and update apt-get

sudo lsof /var/lib/dpkg/lock

sudo kill -TERM <PID>

sudo dpkg --configure -a

sudo apt-get update && sudo apt-get upgrade