← 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

 

I am not sure when this problem occurred but reading over it it sounds
like it pertains to a lack of space.  I know that my /boot partition has
run out of space several times recently.  I do not know why, as I
thought left the partitioning plan up to Ubuntu when I installed.

I have found that the 
purge-old-kernels
script is very helpful in getting me down to just the kernel images that I am using.  It might be worth performing that action too if you are low on space.  I think the script will come from the main repos, so if you do not have it I expect an appropriate 'apg-get install 'prompt will be provided.

-- 
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