6.15. yum-plugin-protectbase
This extension allows certain repositories to be protected. Packages in protected repositories can not be overridden by packages in non-protected repositories even if the unprotected repository has a newer version.
/etc/yum/pluginconf.d/protectbase.conf
[main]
enabled = 1
enabled = 0|1
Enable the extension at system wide.
Later you need to configure the .repo files for each repository to declare which will be protected or not adding protect=1
or protect=0
.