6.25. yum-plugin-versionlock
This extension allows that certain specified packages in a file be protected of an eventual update to a newer version.
/etc/yum/pluginconf.d/versionlock.conf
[main]
enabled = 1
locklist = /etc/yum/pluginconf.d/versionlock.list
# Uncomment this to lock out "upgrade via. obsoletes" etc. (slower)
# follow_obsoletes = 1
enabled = 0|1
Enable extension at a general level.
locklist = /path/to/file
It defines the file name with the packages name list (absolute path).
/etc/yum/pluginconf.d/versionlock.list
The file format is one package name per line.