Halaman

    Social Items

apt-get, unmet dependencies, … “but it is not going to be installed”

$ apt-get install -f -o 'Dpkg::Options::=--force-confmiss --force-all --force-confnew --overwrite-conffiles' --reinstall at-spi2-core

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 kde-workspace-bin : Depends: qdbus but it is not going to be installed
 libqt4-dbus : Depends: qdbus (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I don't quite understand "but it is not going to be installed". Why doesn't it install it then?

apt-get -f install does not help, it does nothing:

$ apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Solutions:
Answer 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.


Answer 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.

No comments