Error: "dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem" [duplicate]
Solution 1:
It is called when packages are broken, or the package installation is interrupted.
You should run sudo dpkg --configure -a
or its alternative apt-get -f install
to solve this problem.