The issue I experienced here, with ~0 bytes free on /boot, produces a more clear "no space left" error than other initramfs-tools post-installation bugs.
See Df.txt;
/dev/sda1 238924 232193 0 100% /boot
See end of DpkgTerminalLog.txt;
update-initramfs: Generating /boot/initrd.img-5.4.0-147-generic
cat: write error: No space left on device
update-initramfs: failed for /boot/initrd.img-5.4.0-147-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
The issue I experienced here, with ~0 bytes free on /boot, produces a more clear "no space left" error than other initramfs-tools post-installation bugs.
See Df.txt;
/dev/sda1 238924 232193 0 100% /boot
See end of DpkgTerminalLog .txt; img-5.4. 0-147-generic img-5.4. 0-147-generic with 1.
update-initramfs: Generating /boot/initrd.
cat: write error: No space left on device
update-initramfs: failed for /boot/initrd.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1