E: dpkg was interrupted... run ''sudo dpkg --configure -a''
Run the command it tells you to sudo dpkg --configure -a and it should be able to correct itself. If it doesn''t try running sudo apt-get install -f (to fix broken packages) and then try running sudo