Try running the
Code:
sudo apt-get -f install
command again.
If it buggers like before, redo the dpkg --configure -a command.