Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)

Solution 1:

try this :

sudo apt-get clean

or

sudo apt-get autoclean

and run :

sudo apt-get -f install && sudo dpkg --configure -a && sudo apt-get -f install

if result

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

run this :

sudo apt-get -u dist-upgrade

and try reinstall package

Solution 2:

This might be a bit late to respond but in current versions of apt, unmet dependencies can be fixed with

apt install --fix-broken

Took the answer from this post.