- 3,708,771 Users
- 2,241,125 Discussions
- 7,840,600 Comments
How do I manage Yum priorities under Oracle Linux?
My servers are currently running CentOS 7. I have the yum-plugin-priorities package installed. It's an official package which (as the name suggests) allows me to set priorities.
Here's a brief example to illustrate how this plugin works:
- Official repositories all have a priority set to 1 in my configuration.
- EPEL has a priority set to 10, which means a package from EPEL that has the same name than one found in the official repos can never squash it.
- The Lynis repository (providing the Lynis tool) has a priority of 5, which means the lynis package from this repo takes precedence over the one in EPEL. At the same time, a package in this repository can never squash anything from the official repos.
I've been using this little plugin since CentOS 5.0 was released. I try to find it under OL7 and OL8, but it seems nowhere to be found.
Is there a way to handle priorities with Yum under Oracle Linux ?
Cheers from the sunny South of France,