Fail to upgrade kernel in RHEL8 (dracut module 'network-legacy' can t be found)
Hi,
I am getting this error when upgrading my rhel8
Downloading Packages: (1/3): kernel-4.18.0-348.12.2.el8_5.x86_64.rpm 20 MB/s | 7.0 MB 00:00 (2/3): kernel-modules-4.18.0-348.12.2.el8_5.x86_64.rpm 34 MB/s | 30 MB 00:00 (3/3): kernel-core-4.18.0-348.12.2.el8_5.x86_64.rpm 30 MB/s | 38 MB 00:01 ------------------------------------------------------------------------------------------------------------------------------------------------------ Total 58 MB/s | 74 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : kernel-core-4.18.0-348.12.2.el8_5.x86_64 1/3 Running scriptlet: kernel-core-4.18.0-348.12.2.el8_5.x86_64 1/3 Installing : kernel-modules-4.18.0-348.12.2.el8_5.x86_64 2/3 Running scriptlet: kernel-modules-4.18.0-348.12.2.el8_5.x86_64 2/3 Installing : kernel-4.18.0-348.12.2.el8_5.x86_64 3/3 Running scriptlet: kernel-core-4.18.0-348.12.2.el8_5.x86_64 3/3 dracut: dracut module 'network-legacy' cannot be found or installed. warning: %posttrans(kernel-core-4.18.0-348.12.2.el8_5.x86_64) scriptlet failed, exit status 1
There is a nice solution about it:
Solution 5672791
Problem is that I have already dracut-network installed. In fact removed it and reinstalled several times, same with kernel
[root@VPL-SPR-DNS02 35network-legacy]# rpm -qa | grep dracut-network dracut-network-049-191.git20210920.el8.x86_64
Any idea why this can be happening?
Thanks!!!
Responses