← Back to team overview

touch-packages team mailing list archive

[Bug 798414] Re: update-initramfs should produce a more helpful error when there isn't enough free space

 

As a very new member of the Ubuntu community can I make a couple of
observations?

First: I understand the statement "Insufficient space in /boot" however:
when I used the instruction that is supposed to clear space [sudo apt-
get clean] it either didn't or didn't clear enough. So I thought I'd
take the direct approach.  I'm an Administrator, so I loaded the Files
application and went looking, but when I found what I thought was the
/boot folder the system would not allow me to delete some older files
(looked like downloads from earlier updates). Maybe the error message
can include a solution that tells me how to delete the old files and/or
increase the space of the /boot folder? Or even where to find the /boot
folder?

My second comment is that maybe once the installation of an update has
successfully completed then the downloaded installation files could be
deleted?

I've tried limiting the download to smaller sections of the current
update but nothing seems to install.

Quick update: I thought I'd take one more look at the search engine and
I found another command to remove junk from the boot (sudo apt-get
autoremove) and this tells me it removed 300MB but the install still
says it needs 30MB more than the available limit...

How do I clean up the /boot folder?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/798414

Title:
  update-initramfs should produce a more helpful error when there isn't
  enough  free space

Status in initramfs-tools:
  Confirmed
Status in Ubuntu:
  Fix Released
Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: initramfs-tools

  When generating a new initramfs there is no check for available free
  space, subsequently its possible for update-initramfs to fail due to a
  lack of free space.  This is resulting in package installation
  failures for initramfs-tools.  For example:

  Setting up initramfs-tools (0.98.8ubuntu3) ...
  update-initramfs: deferring update (trigger activated)
  Processing triggers for initramfs-tools ...
  update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic

  gzip: stdout: No space left on device
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-2.6.38-8-generic
  dpkg: error processing initramfs-tools (--configure):
   subprocess installed post-installation script returned error exit status 1

  WORKAROUND:

  Remove unused kernels using computer janitor or manually free space on
  your partition containing the /boot file system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/798414/+subscriptions


Follow ups