Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I manage Yum priorities under Oracle Linux?

MicrolinuxDec 20 2020

Hi,
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,
Niki

Comments
Post Details
Added on Dec 20 2020
2 comments
1,401 views