Yum update error

Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area…
Building module(s)…(bad exit status: 2)
Failed command:
make -j8 KERNELRELEASE=6.9.12-401.asahi.fc40.aarch64+16k all INCLUDEDIR=/lib/modules/6.9.12-401.asahi.fc40.aarch64+16k/build/include KVERSION=6.9.12-401.asahi.fc40.aarch64+16k DKMS_BUILD=1
Error! Bad return status for module build on kernel: 6.9.12-401.asahi.fc40.aarch64+16k (aarch64)
Consult /var/lib/dkms/evdi/1.14.1/build/make.log for more information.
dkms autoinstall on 6.9.12-401.asahi.fc40.aarch64+16k/aarch64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel 6.9.12-401.asahi.fc40.aarch64+16k Failed.

Running scriptlet: kernel-16k-modules-6.9.12-401.asahi.fc40.aarch64

Is this on old installation (from before September/Oktober 2023)? If so remove dracut-config-generic and dracut-config-rescue. The rescue kernel and initramfs can be directly deleted. That should free up enough space for the update.
After removing dracut-config-generic the generated initramfs images should be approximately 30MB instead of ~140MB. You can either phase the old ones out slowly via kernel updates or regenerate all with dracut --regenerate-all --force.

Yeah, this install started with 38 I think.

Can I remove more?

/boot# ls -l
total 169996
-rw-r--r--.  1 root root  8190865 Aug  2 17:00 System.map-6.9.12-401.asahi.fc40.aarch64+16k
lrwxrwxrwx.  1 root root        1 Sep  4  2023 boot -> .
-rw-r--r--.  1 root root   313191 Aug  2 17:00 config-6.9.12-401.asahi.fc40.aarch64+16k
lrwxrwxrwx.  1 root root       37 Aug 16 12:46 dtb -> dtb-6.9.12-401.asahi.fc40.aarch64+16k
drwxr-xr-x. 19 root root     4096 Aug 16 12:44 dtb-6.9.12-401.asahi.fc40.aarch64+16k
drwx------. 10 root root     4096 Dec 31  1969 efi
drwx------.  5 root root     4096 Aug 16 16:53 grub2
-rw-------.  1 root root 98868413 Sep 28  2023 initramfs-0-rescue-019b1f1ad4a74447933047f0280fa6f2.img
-rw-------.  1 root root 31922732 Aug 17 18:10 initramfs-6.9.12-401.asahi.fc40.aarch64+16k.img
drwxr-xr-x.  3 root root     4096 Sep  4  2023 loader
drwx------.  2 root root    16384 Sep  4  2023 lost+found
-rw-r--r--.  1 root root   181696 Aug 16 12:47 symvers-6.9.12-401.asahi.fc40.aarch64+16k.xz
-rwxr-xr-x.  1 root root 16343552 Sep 28  2023 vmlinuz-0-rescue-019b1f1ad4a74447933047f0280fa6f2
-rwxr-xr-x.  1 root root 18207232 Aug  2 17:00 vmlinuz-6.9.12-401.asahi.fc40.aarch64+16k

Remove everything with “rescue” in the name, those are no longer used (they were pretty useless to begin with).

1 Like