yum update fails with 'mkinitrd failed'
Issue
While doing yum update
, the error message seen is :
cpio: ./etc/modprobe.d/network.conf: Cannot stat: No such file or directory
cpio: ./etc/crypttab: Cannot stat: No such file or directory
E: dracut: creation of /boot/initramfs-x.x.xx-xxx.xx.x.el6.x86_64.img failed
mkinitrd failed
warning: %posttrans(kernel-x.x.xx-xxx.xx.x.el6.x86_64) scriptlet failed, exit status 1
Non-fatal POSTTRANS scriptlet failure in rpm package kernel-x.x.xx-xxx.xx.x.el6.x86_64
Environment
- Red Hat Enterprise Linux (RHEL) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.