I had the same issue as bmaupin /boot$ df -h . Filesystem Size Used Avail Use% Mounted on bpool/BOOT/ubuntu_azukaj 1.1G 590M 476M 56% /boot
/boot$ ls -lart total 603325 drwxr-xr-x 4 root root 4096 1月 1 1970 efi -rw-r--r-- 1 root root 184980 2月 7 2022 memtest86+_multiboot.bin -rw-r--r-- 1 root root 184476 2月 7 2022 memtest86+.elf -rw-r--r-- 1 root root 182800 2月 7 2022 memtest86+.bin drwxr-xr-x 19 root root 25 10月 8 2022 .. -rw------- 1 root root 6261790 5月 15 22:10 System.map-5.15.0-73-generic -rw-r--r-- 1 root root 261914 5月 15 22:10 config-5.15.0-73-generic -rw------- 1 root root 11574280 5月 15 22:50 vmlinuz-5.15.0-73-generic -rw-r--r-- 1 root root 133982499 7月 13 13:28 initrd.img-5.15.0-73-generic -rw------- 1 root root 6273612 8月 14 18:05 System.map-5.15.0-83-generic -rw-r--r-- 1 root root 262053 8月 14 18:05 config-5.15.0-83-generic -rw------- 1 root root 11615656 8月 14 18:07 vmlinuz-5.15.0-83-generic -rw------- 1 root root 7967590 8月 16 18:42 System.map-6.2.0-31-generic -rw-r--r-- 1 root root 275587 8月 16 18:42 config-6.2.0-31-generic -rw------- 1 root root 13796616 8月 16 21:43 vmlinuz-6.2.0-31-generic -rw------- 1 root root 7969006 8月 18 18:38 System.map-6.2.0-32-generic -rw-r--r-- 1 root root 275587 8月 18 18:38 config-6.2.0-32-generic -rw------- 1 root root 13791304 8月 18 18:40 vmlinuz-6.2.0-32-generic -rw-r--r-- 1 root root 145066694 9月 3 06:34 initrd.img-6.2.0-31-generic -rw-r--r-- 1 root root 132973394 9月 11 11:53 initrd.img-5.15.0-83-generic lrwxrwxrwx 1 root root 25 9月 11 11:57 vmlinuz.old -> vmlinuz-5.15.0-83-generic lrwxrwxrwx 1 root root 24 9月 11 11:57 vmlinuz -> vmlinuz-6.2.0-32-generic lrwxrwxrwx 1 root root 28 9月 11 11:57 initrd.img.old -> initrd.img-5.15.0-83-generic lrwxrwxrwx 1 root root 27 9月 11 11:57 initrd.img -> initrd.img-6.2.0-32-generic -rw-r--r-- 1 root root 145040737 9月 11 11:58 initrd.img-6.2.0-32-generic drwxr-xr-x 4 root root 27 9月 11 12:01 . drwxr-xr-x 5 root root 4096 9月 21 11:53 grub so I tried /boot$ sudo apt purge linux-image-5.15.0-73-generic linux-headers-5.15.0-73-generic Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: linux-image-unsigned-5.15.0-73-generic Suggested packages: fdutils linux-doc | linux-source-5.15.0 linux-tools linux-headers-5.15.0-73-generic The following packages will be REMOVED: linux-headers-5.15.0-73-generic* linux-image-5.15.0-73-generic* The following NEW packages will be installed: linux-image-unsigned-5.15.0-73-generic 0 upgraded, 1 newly installed, 2 to remove and 213 not upgraded. Need to get 11.7 MB of archives. After this operation, 24.3 MB disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://jp.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-unsigned-5.15.0-73-generic amd64 5.15.0-73.80 [11.7 MB] Fetched 11.7 MB in 5s (2,290 kB/s) (Reading database ... 419503 files and directories currently installed.) Removing linux-headers-5.15.0-73-generic (5.15.0-73.80) ... dpkg: linux-image-5.15.0-73-generic: dependency problems, but removing anyway as you requested: linux-modules-extra-5.15.0-73-generic depends on linux-image-5.15.0-73-generic | linux-image-unsigned-5.15.0-73-generic; however: Package linux-image-5.15.0-73-generic is to be removed. Package linux-image-unsigned-5.15.0-73-generic is not installed. linux-modules-5.15.0-73-generic depends on linux-image-5.15.0-73-generic | linux-image-unsigned-5.15.0-73-generic; however: Package linux-image-5.15.0-73-generic is to be removed. Package linux-image-unsigned-5.15.0-73-generic is not installed. Removing linux-image-5.15.0-73-generic (5.15.0-73.80) ... /etc/kernel/prerm.d/dkms: dkms: removing: virtualbox 6.1.38 (5.15.0-73-generic) (x86_64) Module virtualbox-6.1.38 for kernel 5.15.0-73-generic (x86_64). Before uninstall, this module version was ACTIVE on this kerne -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1968154 Title: Only keep 2 kernels Status in apt package in Ubuntu: Fix Released Status in apt source package in Bionic: Fix Released Status in apt source package in Focal: Fix Released Status in apt source package in Impish: Fix Released Bug description: [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. We remove the requirement to keep the most recently installed version, previously recorded in APT::LastInstalledKernel, to achieve this, as we had 3 hard requirements so far: 1. keep booted kernel 2. keep highest version 3. keep most recently installed 1 can't be removed as it would break running systems, 2 is what you definitely want to keep. During normal system lifetime, the most recently installed kernel is the same as the highest version, so 2==3, and there are no changes to behavior. Likewise, if you most recently installed an older kernel manually for debugging, it would be manually installed and not subject to removal, even if the rule is dropped. The behavior really only changes if you install an older kernel, and then mark it auto - that older kernel becomes automatically removable immediately after it is marked as auto. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1968154/+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