Install DRS replication agent failed on oracle linux(uek) vm


Afternoon all,

had a problem when install DRS replication agent

#cat /etc/os-release

NAME="Oracle Linux Server"


ID="ol" ID_LIKE="fedora"

VARIANT="Server" VARIANT_ID="server"


PRETTY_NAME="Oracle Linux Server 8.9"

uek kernel version : 5.4.17-2136.329.3.1

# rpm -qa |grep kernel



the installation log shows:

running: ['yum', '-y', '--disableexcludes=main', 'install', 'kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64', 'kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64'] retcode: 1

Kernel development or header package for 5.4.17-2136.329.3.1.el8uek.x86_64 did not install.

Last metadata expiration check: 1:22:45 ago on T------------ PM CST. No match for argument: kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64

No match for argument: kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64

Error: Unable to find a match: kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64 kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64

  1. kernel-headers rpms cannot be found in oracle yum repo or anywhere else

  2. kernel-uek-devel-5.4.17-2136.329.3.1.el8uek.x86_64 is already installed and there's no rpm called kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64

what should I do next? thanks

2 Answers

Can you try installing the headers and try again? Commands as follows as per

sudo yum install kernel-uek-devel-`uname -r`

Try the troubleshooting tips at

answered 3 months ago
  • Hi Mike, thanks a lot

    the summary of dnf install resaults:

    kernel-uek-devel-5.4.17-2136.329.3.1.el8uek.x86_64 already installed

    kernel-devel-5.4.17-2136.329.3.1.el8uek.x86_64 No match for argument

    kernel-uek-headers-5.4.17-2136.329.3.1.el8uek.x86_64 No match for argument

    kernel-headers-5.4.17-2136.329.3.1.el8uek.x86_64 No match for argument

    The kernel-header does not exist on the Oracle repository website either; it seems that the kernel-header package is obsolete, the kernel-devel only has uek version for my kernel version. ? (oralce linux 8.9 uek6)

  • Hi, looks like you may already have the necessary packages.


Hi, yup I think so, but still fail to install . and I don't want to mess with DB server any further. thanks a lot

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions