@bdrung: $ grep -v '^$\|#' /etc/initramfs-tools/initramfs.conf /etc/initramfs-tools/conf.d/* /etc/initramfs-tools/initramfs.conf:MODULES=most /etc/initramfs-tools/initramfs.conf:BUSYBOX=auto /etc/initramfs-tools/initramfs.conf:COMPRESS=zstd /etc/initramfs-tools/initramfs.conf:DEVICE= /etc/initramfs-tools/initramfs.conf:NFSROOT=auto /etc/initramfs-tools/initramfs.conf:RUNSIZE=10% /etc/initramfs-tools/initramfs.conf:FSTYPE=auto grep: /etc/initramfs-tools/conf.d/*: No such file or directory
$ grep backup_initramfs /etc/initramfs-tools/update-initramfs.conf # backup_initramfs [ yes | no ] backup_initramfs=no I think my `df` from https://bugs.launchpad.net/ubuntu/+source/initramfs- tools/+bug/2036124/comments/4 was confusing because this happened after the original issue occurred, after I had manually removed the older kernel and upgraded. But another kernel has been released and I'm in the same boat again: when trying to upgrade, I get the error >The upgrade needs a total of 229 M free space on disk '/boot'. Please free at least an additional 33.9 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove', and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs. Current status: $ df -h /boot Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 704M 467M 186M 72% /boot $ ls -al /boot/ total 468884 drwxr-xr-x 5 root root 4096 Sep 19 07:55 . drwxr-xr-x 20 root root 4096 Oct 9 2021 .. -rw-r--r-- 1 root root 275587 Aug 18 02:38 config-6.2.0-32-generic -rw-r--r-- 1 root root 275587 Sep 7 00:11 config-6.2.0-33-generic drwx------ 3 root root 4096 Dec 31 1969 efi drwxr-xr-x 5 root root 4096 Sep 19 07:55 grub lrwxrwxrwx 1 root root 27 Sep 19 07:54 initrd.img -> initrd.img-6.2.0-33-generic -rw-r--r-- 1 root root 217648201 Sep 18 16:27 initrd.img-6.2.0-32-generic -rw-r--r-- 1 root root 217796000 Sep 19 07:55 initrd.img-6.2.0-33-generic lrwxrwxrwx 1 root root 27 Sep 11 09:11 initrd.img.old -> initrd.img-6.2.0-32-generic drwx------ 2 root root 16384 Oct 9 2021 lost+found -rw-r--r-- 1 root root 182800 Feb 6 2022 memtest86+.bin -rw-r--r-- 1 root root 184476 Feb 6 2022 memtest86+.elf -rw-r--r-- 1 root root 184980 Feb 6 2022 memtest86+_multiboot.bin -rw------- 1 root root 7969006 Aug 18 02:38 System.map-6.2.0-32-generic -rw------- 1 root root 7969198 Sep 7 00:11 System.map-6.2.0-33-generic lrwxrwxrwx 1 root root 24 Sep 19 07:54 vmlinuz -> vmlinuz-6.2.0-33-generic -rw------- 1 root root 13791304 Aug 18 02:40 vmlinuz-6.2.0-32-generic -rw------- 1 root root 13788872 Sep 7 01:18 vmlinuz-6.2.0-33-generic lrwxrwxrwx 1 root root 24 Sep 11 09:11 vmlinuz.old -> vmlinuz-6.2.0-32-generic $ uname -a Linux whimbrel 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux I know that I can work around this by removing 6.2.0-32 at this point, since (6.2.0-33 seems to be working fine), but I think it's bad UX that the default policy keeps two old kernels (as I understand it) *and* /boot is not big enough to hold three kernels. -- 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/2036124 Title: package linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Status in initramfs-tools package in Ubuntu: Incomplete Bug description: A crash notification popped up when I was not doing anything so I'm not sure what caused it. I hope the automatically-added debug information contains something useful. ProblemType: Package DistroRelease: Ubuntu 22.04 Package: linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 ProcVersionSignature: Ubuntu 6.2.0-32.32~22.04.1-generic 6.2.16 Uname: Linux 6.2.0-32-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: unknown Date: Mon Sep 11 00:24:38 2023 ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 InstallationDate: Installed on 2021-10-09 (704 days ago) InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819) Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.2 apt 2.4.10 SourcePackage: initramfs-tools Title: package linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 UpgradeStatus: Upgraded to jammy on 2023-08-23 (22 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2036124/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp