other commands you can try sudo dpkg --configure -a sudo apt-get install -f also in synaptic you go to edit and tick on fix broken packages