YUM-VERSIONLOCK.CONF(5) File Formats YUM-VERSIONLOCK.CONF(5)
yum-versionlock.conf(5) is the configuration file for yum-versionlock(1) Yum plugin for excluding packages that aren't listed in the versionlock file. The plugin will walk each line of the versionlock file, parse out the name and version of the package. It will then exclude any package by that name that doesn't match one of the versions listed within the file (or, optionally, any obsoleter of that package). This is basically the same as doing an exclude for the package name itself (as you cannot exclude installed packages), but yum will still see the versions you have installed/versionlocked as available so that "yum reinstall" will still work, etc. It can also work in the opposite way, like a fast exclude, by prefixing a '!' character to the version.
yum-versionlock.conf(5) utilizes configuration options in the form of OPTION=VALUE
follow_obsoletes This option is a boolean flag which specifies if the versionlock plugin should look at all the obsoletes, and see if any of the packages specified have an obsoleter. If an obsoleter is found then all versions of that package will be excluded. This option is off by default, as yum-versionlock(1) will take some time to do the obsoletes processing, and for non-rename obsoletes any issues you had which kept you at a specific version of a package should be different with another package. locklist This option is a string with points to the file which will have the versionlock information in it. Note that the file has to exist (or the versionlock plugin will make yum exit). However it can be empty. show_hint This option is a boolean flag which specifies if the versionlock plugin should print a hint message whenever yum runs saying how many package updates available from the repos are being blocked due to versionlocks. This hint serves as a reminder that there are locks in effect and that you may want to reconsider them since newer versions of those packages have been released. Default is 1 (show the hint).
Chitlesh Goorah <email@example.com> James Antill <firstname.lastname@example.org>
This page is part of the yum-utils (Yum Package Manager utilities) project. Information about the project can be found at ⟨https://github.com/rpm-software-management/yum⟩. It is not known how to report bugs for this man page; if you know, please send a mail to email@example.com. This page was obtained from the project's upstream Git repository ⟨https://github.com/rpm-software-management/yum-utils.git⟩ on 2020-06-09. (At that time, the date of the most recent commit that was found in the repository was 2020-03-11.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to firstname.lastname@example.org 27 July 2008 YUM-VERSIONLOCK.CONF(5)
Pages that refer to this page: yum-versionlock(1), yum-versionlock.conf(5)