In the terminal, type sudo dpkg --configure -a and, when prompted for apassword, enter your logon passsword and everything should be OK :-)