yum versionlock, to restrict a package to a fixed version against yum update/upgrade
.
The plugin stores a package list in /etc/yum/pluginconf.d/versionlock.list
, which you can edit directly. Yum will normally attempt to update all packages, but the plugin will exclude the packages listed in the versionlock.list file.
1 | # install version lock |