[CentOS] Suggested yum priorities settings for 3rd party repos
Akemi Yagi
amyagi at gmail.com
Sun Dec 7 14:13:16 UTC 2008
On Sun, Dec 7, 2008 at 3:47 AM, Vandaman <vandaman2002-sk at yahoo.co.uk> wrote:
> In the yum priorities page on the wiki Akemi Yagi suggests
> http://wiki.centos.org/PackageManagement/Yum/Priorities
>
> [base], [addons], [updates], [extras] ... priority=1
>
> [centosplus],[contrib] ... priority=2
>
> Third Party Repos ... priority=N (where N is > 10 and
> based on your preference)
I did not write/suggest that particular part (but that does not really matter).
> If you have rpmforge, kbs, epel all set up at 10 then wouldn't
> those also potentially overwrite each other if the same package
> exists in all of them?
>
> Who has got several 3rd party repos and what are your yum priority
> for those?
One of my systems have these entries:
rpmforge.repo:priority=40
kbsingh-CentOS-Extras.repo:priority=50
kbsingh-CentOS-Misc.repo:priority=50
atrpms.repo:priority=85
epel.repo:priority=90
CentOS-Testing.repo:priority=99
....
(not a complete list)
I do use different sets of numbers depending on what a given system
runs. In addition to the priority scores, use of exclude= etc is also
important if you aim at getting certain packages from a repository of
your choice.
Akemi
More information about the CentOS
mailing list