That isn’t the command I suggested, I suggested this one which will (should) solve any dependency problems:
sudo apt-get update && sudo apt-get dist-upgrade -f
This one does what it says on the packet, it installs any missing packages regardless of type!.
See also: