E: dpkg was interrupted, you must run 'dpkg --configure - a' to correct the problem code example
Example: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
run
$ sudo dpkg --configure -a
run
$ sudo dpkg --configure -a