https://vworld.nl/?p=4521
Howto fix "dpkg was interrupted, you must manually run sudo dpkg --configure -a to correct the problem" error