Body
Summary
Lock in a particular version of an RPM package. Sometimes it is necessary to assure that a particular version of a software package or kernel does not change during a software update, in order to keep the system operating correctly after the update.
Environment
- Red Hat Enterprise Linux
- Fedora
Directions
- Depending on whether you are using YUM (RHEL) or DNF (Fedora), install the appropriate plugin:
sudo yum install yum-plugin-versionlock
sudo dnf install python3-dnf-plugin-versionlock
- Specify the package version you want to lock:
sudo yum versionlock package-list
sudo dnf versionlock package-list
- (Optional) View locked versions:
sudo yum versionlock list
sudo dnf versionlock list
Additional notes