Tente executar estes comandos:
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Ou o one-liner:
sudo sh -c "dpkg --configure -a && apt-get install -f && apt-get update && apt-get upgrade && apt-get dist-upgrade"