Kernel-4.18.0-304.el8.x86_64 No Longer Available
Environment
- Red Hat Enterprise Linux 8 (RHEL 8)
Issue
-
After updating some of our RHEL 8 machines to
kernel-4.18.0-304.el8.x86_64we went to install that same version on other machines, but now receive this error:# dnf install kernel-4.18.0-304.el8.x86_64 No match for argument: kernel-4.18.0-304.el8.x86_64 Error: Unable to find a match: kernel-4.18.0-304.el8.x86_64 -
Searching for "kernel" via the This content is not included.Red Hat Package Search tool returns a page where no 4.18.0-304.el8 is listed in the version drop-down list.
Resolution
Please use kernel-4.18.0-305 or greater.
Root Cause
RHEL 8's 4.18.0-304.el8 kernel was a RHEL 8.4 release candidate kernel that was erroneously placed in Red Hat's public repositories. After recognizing the mistake, it was removed.
Because that kernel package was publicly available for a few weeks, there is a chance that customers may have used it before it was removed.
Diagnostic Steps
To see the currently running kernel version, execute uname -r.
To see all kernels installed on a RHEL system, please execute:
rpm -qa | grep kernel | sort
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.