How to Fix Unmet Dependencies Error on Ubuntu?

Using the APT package management utility in Ubuntu or some other Linux distros is straightforward for most users. It helps to install, remove and update packages. Sometimes however, when third party dependencies are involved, the apt-get command might fail with the error The following packages have unmet dependencies and the package installation suddenly comes to a halt.