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 am using ubuntu 12.10. When I was trying to update the software, i got a message:

The upgrade needs a total of 25.5 M free space on disk '/boot'. Please free at least anadditional 25.5 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.`

I tried typing sudo apt-get clean, same error masage came out. Again typed sudo apt-get autoremove; the outcome is:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.103ubuntu0.2.2) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-extra-3.5.0-48-generic (3.5.0-48.72) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.5.0-48-generic /boot/vmlinuz-3.5.0-48-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.5.0-48-generic /boot/vmlinuz-3.5.0-48-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-48-generic /boot/vmlinuz-3.5.0-48-generic
update-initramfs: Generating /boot/initrd.img-3.5.0-48-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.5.0-48-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.5.0-48-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.5.0-48-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.5.0-48-generic; however:
  Package linux-image-extra-3.5.0-48-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic; however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-48-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.5.0-48-generic with 1.
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 linux-image-extra-3.5.0-48-generic
 linux-image-generic
 linux-generic
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)*

And I am not able to update. I will be happy if anybody can help me.

share|improve this question
1  
can you please provide the output of the command df in your terminal? –  Anam Ahmed May 6 at 7:31
    
Your /boot partition is almost full. <br> You can verify by running this command: <br> df -h –  laugeo May 6 at 8:30
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.