How do I fix dependency problems with the kernel in apt?
- by Jon
When trying to install new packages, either manually or with muon, I get these errors:
jon@jon-desktop:~/Apps/mendeleydesktop-1.5-dev4-linux-x86_64/bin$ sudo apt-get install kupfer
[sudo] password for jon:
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:
kupfer : Depends: python-keybinder but it is not going to be installed
Recommends: python-wnck but it is not going to be installed
linux-headers-generic : Depends: linux-headers-3.2.0-20-generic but it is not installable
linux-image-generic : Depends: linux-image-3.2.0-20-generic but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
jon@jon-desktop:~/Apps/mendeleydesktop-1.5-dev4-linux-x86_64/bin$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
linux-generic linux-headers-generic linux-image-generic
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 0 B/6,658 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.2.0-20-generic; however:
Package linux-image-3.2.0-20-generic is not installed.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.2.0.20.22); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-3.2.0-20-generic; however:
Package linux-headers-3.2.0-20-generic is not installed.
dpkg: error processing linux-headers-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-generic
linux-generic
linux-headers-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
As indicated above, I ran sudo apt-get -f install but it still tells me there are dependency issues.