[Bug 798414] Re: update-initramfs should produce a more helpful error when there isn't enough free space
equivalent8
tomas.valent at gmail.com
Fri Jul 1 08:22:51 UTC 2016
mine df
```
df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3997848 0 3997848 0% /dev
tmpfs 803444 10096 793348 2% /run
/dev/dm-1 237116104 208916688 16131576 93% /
tmpfs 4017208 6892 4010316 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 4017208 0 4017208 0% /sys/fs/cgroup
/dev/nvme0n1p2 241965 117520 111953 52% /boot
/dev/nvme0n1p1 523248 3456 519792 1% /boot/efi
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 803444 56 803388 1% /run/user/1000
```
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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 initramfs-tools package in Ubuntu:
In Progress
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 (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:
https://bugs.launchpad.net/initramfs-tools/+bug/798414/+subscriptions
More information about the foundations-bugs
mailing list