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

Rod Smith rod.smith at canonical.com
Thu May 26 12:34:45 UTC 2016

I agree with Jarno; these three bugs are related, but this one (at
least) is not an exact duplicate of the other two. This one is
explicitly and exclusively about mkinitramfs, whereas the other two are
more general and can be triggered in other ways. (Those two might be
duplicates of each other, but not of this one.) That said, a solution to
the other two bugs is likely to make this one less likely to be a

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.

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

Status in initramfs-tools:
Status in initramfs-tools package in Ubuntu:

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


  Remove unused kernels using computer janitor (not in repositories for
  14.04 or later) or manually free space on your partition containing
  the /boot file system.

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list