I have no idea if it is still relevant for you to get help on this, but here is a summary of the things one could do to help in such situation
(from here at Appuals (appuals.com)) :
Method 1: Use the
-f parameter (I know you already did that, but I gather everything here altogether)
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get install -f
Method 2: Use Aptitude
sudo aptitude install PACKAGENAME
PACKAGENAME is the package you’re installing,
and press Enter to execute it. This will try to install the package via aptitude instead of apt-get, which should potentially fix the unmet dependencies issue.
Method 3: Make sure that the restricted and universe repositories are enabled and try a better server
- In the Ubuntu Software tab, make sure that all the repositories (main, universe, restricted, multiverse) are enabled.
- Click the list of servers where it says “Download from”, and choose
- Click “Select Best Server”.
Press Alt, Ctrl and T simultaneously to open a Terminal, and type in
sudo apt-get update
Once it’s done running, try installing the software again.
Method 4: Clean the package database
sudo apt-get clean
sudo apt-get autoclean
Method 5: Eliminate any held packages
sudo apt-get -u dist-upgrade
then (if pb):
sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
and see if it fixes the issue. If it exits with
X not upgraded at the end, where
X is the number of held packages, you will need to delete them one by one.
To remove a held package,
sudo apt-get remove --dry-run PACKAGENAME
PACKAGENAME is the package you’re trying to remove). The
--dry-run parameter makes sure you are informed of whatever happens next. When you’ve removed all packages, try installing the one that caused the problem in the first place, and see what happens.
Method 6: Purge/Remove/Disable PPAs
Personal Package Archives are repositories that are hosted on the Launchpad, and are used to upgrade or install packages that aren’t usually available in the official repositories of Ubuntu. They’re most commonly a cause of unmet dependencies, especially when they’re used to upgrade an existing package from the Ubuntu repository. You can either disable, remove or purge them.
Then if they still show some dependency issues, let's purge them:
apt purge packageXX packageYY packageZZ
until everything is clean
Some say also to edit
/var/lib/dpkg/status and remove blocs which have not complete installation but I doubt this really solves problems, it is just hiding it under the carpet.