Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem -
sudo dpkg --configure -a sudo apt-get update
sudo rm /var/lib/dpkg/lock-frontend /var/lib/dpkg/lock /var/cache/apt/archives/lock sudo dpkg --configure -a sudo apt-get update sudo
If dpkg finishes but you still can't install new software, you might have "broken dependencies." This happens when one package requires another that wasn't properly installed. Fix this using apt : sudo apt update sudo apt install -f Use code with caution. sudo dpkg --configure -a sudo apt-get update sudo


