Noob Help: dpkg --configure -a

Soldato
Joined
20 Oct 2002
Posts
2,718
So I've come across the above message for a while now when installing updates etc. and I've had a few goes at it but now it's starting to do my head in. It's preventing me from getting on with Xubuntu, which I was hoping to be able to learn a little.

As the message suggests I have tried running the command in the Terminal and I get the following:

Code:
root@daniel-laptop:/home/daniel# sudo dpkg --configure -a
Setting up initramfs-tools (0.85eubuntu39.3) ...
update-initramfs: deferring update (trigger activated)

Setting up linux-ubuntu-modules-2.6.24-24-generic (2.6.24-24.39) ...
update-initramfs: Generating /boot/initrd.img-2.6.24-24-generic

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-24-generic
dpkg: error processing linux-ubuntu-modules-2.6.24-24-generic (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-ubuntu-modules-2.6.24-24-generic; however:
  Package linux-ubuntu-modules-2.6.24-24-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.24.24.26); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-24-generic

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-24-generic
dpkg: subprocess post-installation script returned error exit status 1

Not the most useful error message in the world for a noob.

Can anyone give me some help with this please? Has anyone come across it before. I tried sudo apt-get moo but that didn't work either :(

TIA.
 
It seems after some quick Googling that I only have my self to blame. I've obviously made my /boot so small that I've run out of space and as such, I now need to resize it :o
 
sudo df -h

your see one of your partions is full

hence

dpkg: subprocess post-installation script returned error exit status 1
 
remove some of the old kernels from your /boot driver and remove there entries from grub in menu.lst
 
Back
Top Bottom