Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was installing a package (Ubuntu 12.04 64 bit) and was told there were dependencies not applied to my install. As advised I ran 'sudo apt-get -f install' to fix them, but ran out of space in /boot during the process. I freed up space in /boot but now, I can't apply anything because I'm in a loop of:

moodle:/boot$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  php-fpdf linux-headers-3.2.0-44-generic linux-headers-3.2.0-52-generic linux-  
  headers-3.2.0-44 linux-headers-3.2.0-51 linux-headers-3.2.0-52
  unzip libphp-magpierss mimetex smarty php5-curl libphp-snoopy 
  linux-image-3.2.0-51-    generic php5-xmlrpc libjs-yui libphp-pclzip zip
  linux-headers-3.2.0-51-generic php5-ldap linux-image-3.2.0-44-generic 
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 112 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,734 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-server:
  linux-server depends on linux-image-server (=; however:
  Version of linux-image-server on system is
linux-server depends on linux-headers-server (=; however:
  Version of linux-headers-server on system is
dpkg: error processing linux-server (--configure):
  dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already

Errors were encountered     while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any suggestions?

Regards, Gord

share|improve this question
Look quite similar to: this entry –  jhilmer Feb 10 '14 at 21:26
This doesn't appear to be a space issue since I freed up space, I need to somehow resolve the dependency. linux-image-3.2.0-54-generic shows as already at the newest version when I try to do a install on that, so it's there... –  user246821 Feb 10 '14 at 21:41
You could try to reinstall linux-image-3.2.0-54-generic with: sudo apt-get install --reinstall linux-image-3.2.0-54-generic –  jhilmer Feb 10 '14 at 21:47

1 Answer 1

try to run apt-get check, so that apt can verify if your box is OK and all package's dependencies are correctly satisfied

If your system isn't seriously broken, you'll be able to fix it with apt-get -f install. If its broken, you'll have to fix these dependencies by hand (I mean, using the dpkg command) before start using apt.

or maby

apt-get build-dep build-essential

aptitude update && aptitude full-upgrade

will fix your system, i'v expirienced in the past that everytime i'm struggeling whit apt-get, installing build dep or build-essential fixes my issues.

share|improve this answer
All suggested commands failed with the same dependency error :( –  user246821 Feb 11 '14 at 14:02
then you have to do this manually whit dpkg –  BD Bear Feb 11 '14 at 16:28
try to run sudo dpkg --remove linux-image-server && sudo dpkg --remove linux-headers-server (apt-get is telling you that you need to install some stuff, but the stuff is already installed and the version is to "up to date") And this might force your system to install the correct decencies. –  BD Bear Feb 11 '14 at 16:38
If that does not work, try to run sudo dpkq --remove linux-server amd then apt-get install linux-server to se if it fixes the issue. –  BD Bear Feb 11 '14 at 16:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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