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.
sudo yum install yum-plugin-versionlock
sudo dnf install python3-dnf-plugin-versionlock
sudo yum versionlock package-list
sudo dnf versionlock package-list
sudo yum versionlock list
sudo dnf versionlock list