I am getting the following unmet dependency issue with Ubuntu 12.04 this happened after the /boot got filled up and had to remove some of the old kernel packages manually.

There are no external repositories or external installations as this server is just used for basic web hosting.

I have tried various commands below from searching on forums but none of them work, currently I am unable to install any updates or remove any packages.

sudo apt-get -f install
sudo apt-get clean 
sudo apt-get update

Error message I am getting below is:

dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (=; however:
  Version of linux-image-generic on system is
 linux-generic depends on linux-headers-generic (=; however:
  Version of linux-headers-generic on system is
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.

Appreciate any help or advice. Thanks.


Check, which version you are actually running with uname -a.

If it is NOT you should be able to remove the problematic packages with:

dpkg --force-depends --purge linux**
apt-get install -f
| improve this answer | |
  • Hi Esa, unfortunately the current version is – karimzah Apr 4 '15 at 13:19

So I re-installed the linux-image-generic package, which apparently fixed the problem, I don't think it got properly installed because of the lack of disk space on the /boot drive.

sudo dpkg -r linux-generic linux-image-generic
sudo apt-get install linux-generic linux-image-generic
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.