Today I successfully updated and rebooted my stable Manjaro system but encountered this error messages that are irritating:
=> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux55.preset: 'default'
-> -k /boot/vmlinuz-5.5-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.5-x86_64.img
==> ERROR: '/lib/modules/5.5.19-1-MANJARO' is not a valid kernel module directory
==> Building image from preset: /etc/mkinitcpio.d/linux55.preset: 'fallback'
-> -k /boot/vmlinuz-5.5-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.5-x86_64-fallback.img -S autodetect
==> ERROR: '/lib/modules/5.5.19-1-MANJARO' is not a valid kernel module directory
Fehler: Befehl konnte nicht korrekt ausgeführt werden
Calling mhwd-kernel -li
returns this …
Currently running: 5.10.23-1-MANJARO (linux510)
The following kernels are installed in your system:
* linux419
* linux510
* linux54
I assume the linux55.preset is still stored but orphaned in my filesystem.
Thanks for your advice on how to clean this up correctly.