Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem Top -
sudo killall apt apt-get dpkg sudo lsof /var/lib/dpkg/lock-frontend sudo rm /var/lib/dpkg/lock-frontend sudo rm /var/lib/dpkg/lock sudo dpkg --configure -a
: Your system might have started a background update just as you tried to shut down. Kernel Upgrades
If you are no other update is running in the background, you can manually remove the lock files: