Why does the installation of kernel core fails with the "find: command not found" ?

Solution Verified - Updated -

Issue

  • Installation of kernel and kernel-core fails with the error "find: command not found" in posttrans script ?
# yum reinstall kernel-4.18.0-513.18.1.el8_9.x86_64 kernel-core-4.18.0-513.18.1.el8_9.x86_64
.
.

/usr/libexec/microcode_ctl/update_ucode: line 23: find: command not found
warning: %triggerin(microcode_ctl-4:20230808-2.20231009.1.el8_9.x86_64) scriptlet failed, exit status 127

Error in <unknown> scriptlet in rpm package kernel-core
/usr/lib/dracut/modules.d/10i18n/module-setup.sh: line 126: find: command not found
/usr/lib/dracut/modules.d/10i18n/module-setup.sh: line 127: find: command not found
/usr/lib/dracut/modules.d/10i18n/module-setup.sh: line 132: find: command not found
/usr/libexec/plymouth//plymouth-populate-initrd: line 468: find: command not found
/usr/lib/dracut/modules.d/99microcode_ctl-fw_dir_override/module-setup.sh: line 11: find: command not found
/bin/dracut: line 1566: find: command not found
/bin/dracut: line 1791: find: command not found
/bin/dracut: line 1871: find: command not found
dracut: dracut: creation of /boot/initramfs-4.18.0-513.18.1.el8_9.x86_64.img failed
warning: %posttrans(kernel-core-4.18.0-513.18.1.el8_9.x86_64) scriptlet failed, exit statu

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content