My Oracle Support Banner

How to Use YUM Versionlock Plugin to Exclude Certain(kernel) RPM(s) from being Upgraded (Doc ID 1638787.1)

Last updated on AUGUST 17, 2021

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86


Due to application certification and other restrictions in a production environment, it may be preferred to exclude kernel RPM (or other certain RPM) upgrade via yum update from ULN.

Note: Sample provided in this document is using kernel RPM, the method also works on other RPMs.

There are RHCK and UEK2 available for upgrade in system:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.