How To Fix Unmet Dependencies Error On Ubuntu

How to fix unmet dependencies error on Ubuntu. If you see the message “the following packages have unmet dependencies”, here’s how to remove packages with unmet dependencies on Linux Ubuntu Systems.

Unmet Dependency Errors

Unmet Dependency means that the package you are trying to install is looking for “dependencies” that it cannot find in the current version. The simple way to fix this error is to update the package database, clean out the package cache, and download-and-reinstall the newer version.


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

If the output is: 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. That means the solution failed and you will have to run the following commands to fix the error.

Method 1


sudo apt-get update
sudo apt-get -u dist-upgrade
sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
sudo apt-get remove --dry-run package-name

Method 2


sudo apt-get update
sudo apt-get -u dist-upgrade
sudo apt-get clean package-name
sudo apt-get install --reinstall package-name

How To Fix Unmet Dependencies Error On Ubuntu originally posted on Source Digit – Latest Technology, Gadgets & Gizmos.