Introduction
An RPM package update may cause issues or be unable to update due to conflicts, and an RPM version lock may be needed. The following information will provide information on how to lock a package to prevent updates of that RPM package.
Procedure
You need to install the yum-plugin-versionlock RPM to manage RPM version locks.
To install the yum-plugin-versionlock package, run the following command:
yum install yum-versionlock
You can version lock the package by running the following command:
yum versionlock <PACKAGENAME>
You can view what packages are currently under a version lock with the following command:
yum versionlock list
After the RPM package issue is resolved with either a newer update or the dependency issues are resolved, the version lock can be undone by executing the following:
yum versionlock delete <PACKAGENAME>
To clear all version locks for all locked packages, the following is executed:
yum versionlock clear
Please note that cPanel, LLC only supports the cPanel-provided software and does not provide general system administration services. Any issues related to system RPMs not provided by cPanel would be best addressed by an obtained qualified server/systems administrator.