apt-get, unmet dependencies, ... "but it is not going to be installed"
Solution 1:
This worked for me.
$ sudo apt-get install <missing-package-1> <missing-package-2> ...
I don't know why this is necessary, but manually installing the problematic packages worked.
After installing the first round of unmet dependencies, another one popped up, but I repeated the process and it sorted itself out after two cycles.
Solution 2:
As this question also didn't help, I found on this LinuxQuestions thread a hint that helped me:
Do you have a mixed /etc/apt/sources.list
? It appears that you're trying to install one package from a newer repository but that it doesn't have access to a repository with the newer dependencies.
Solution 3:
I ran into this issue and solved it by running:
sudo apt-get update
sudo apt-get upgrade
Then when I ran the original "apt-get install" command succeeded.
Solution 4:
I also had the same issue while installing Guake; it showed unmet dependencies
with Python. Even trying to reinstall python using sudo apt-get install --reinstall python
did nothing.
Finally,
Step-1: I had to remove and install python again using:
Note: Uninstalling python
leads to removing many other dependencies which may break the installed Ubuntu, so be careful while uninstalling python
sudo apt-get purge python
sudo apt-get install python
Step-2: Install the original package (in my case it was guake)
sudo apt-get install guake
This installed all necessary dependencies.
Try the same procedure w/ your packages and it should work for you too.
Solution 5:
Nothing above worked for me but following procedure saved me
sudo dpkg --configure -a
this will list the broken packages and
sudo dpkg -r librrd4
{librrd4 and libpng12 were my broken pakages solved the problem