Updated my system and got a bunch of errors

I updated my system, and the output included some messages that look like:

dracut: dracut module 'dash' will not be installed, because command 'dash' could not be found!
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.7VSjT1/initramfs -a -o

etc… full output: https://pastebin.com/ZdEKKdSH

I didn’t restart my system yet, I’m afraid to do so…

This is a good place to harvest information on dracut

https://wiki.archlinux.org/title/Dracut

the message about modules is just a message - it is not what cause the failure.

I think the error is caused by this

dracut: *** Including module: brltty ***
brltty-lsinc: missing file

If you don’t need brltty - uninstall it - to avoid the error

sudo pacman -Rns brltty

then run

sudo dracut-rebuild

If you are using kernel-install-for-dracut run

sudo rebuild-kernels

I tried that already but some QEMU packages depend on it apparently

error: failed to prepare transaction (could not satisfy dependencies)
:: removing brltty breaks dependency 'brltty' required by qemu-chardev-baum
:: removing brltty breaks dependency 'libbrlapi.so=0.8-64' required by qemu-chardev-baum

Then you could add the exclusion in /etc/dracut.conf.d/eos-defaults.conf.

It is mentioned on the arch wiki link - at the bottom of the page

omit_dracutmodules+=" brltty "

ok, now what?

when you have added the omission to the config and saved it - run the reinstall-kernels command

sudo: rebuild-kernels: command not found
sudo: reinstall-kernels: command not found

I meant reinstall-kernels - sorry for the confusion.

My system has been customized to use kernel-install-for-dracut - so script is different for me

The correct script on a fresh eos build is

sudo dracut-rebuild

I ran sudo dracut-rebuild and it seems better but I stil got some errors: https://pastebin.com/M5FZpGwV
all of them look something like dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!

same problem by me, after system update https://pastebin.com/Gkcjp6FX
i have never changed anything in dracut, is a newer installation.

your system is fine

That is not an error - it is an informational message - you can ignore those.

When you build the initrd - it is build twice - once for the initrd and once for the fallback image - that means you get messages such as below twice - they are not errors - they are messages.

dracut: dracut module 'dash' will not be installed, because command 'dash' could not be found!
dracut: dracut module 'mksh' will not be installed, because command 'mksh' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'kpartx' could not be found!
dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found!


When your rebuild ends with below messages (or something similar depending on kernel) - you are all good

dracut: *** Creating image file '/boot/initramfs-linux-fallback.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-linux-fallback.img' done ***

My system using zen-kernel

dracut: *** Creating image file '/boot/initramfs-linux-zen-fallback.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-linux-zen-fallback.img' done ***
2 Likes

does that mean I am good to go?

Big thank you to @Root for solving my issue.
For future users, see this sum up:

add the following line to /etc/dracut.conf.d/eos-defaults.conf

omit_dracutmodules+=" brltty "

and run sudo dracut-rebuild

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.