yum-priorities default priority?

Issues related to applications and software problems
Post Reply
taylorkh
Posts: 534
Joined: 2010/11/24 15:08:33
Location: North Carolina, USA

yum-priorities default priority?

Post by taylorkh » 2018/05/29 14:16:44

I have been installing CentOS 7.5 a LOT in the past couple of weeks - test machines, virtual machines - testing stuff prior to upgrading my real systems. I use CentOS-Base and epel repos. I set the repos withing CentOS-Base priority=1 and in epel priority=10. I was wondering - have not found an answer in my searches - If I do NOT add a priority= 1 line in CentOS-Base.repo does that repository default to priority = 0 i.e. the HIGHEST priority? Just had to ask. Yes, I should write a kickstart file. :oops:

TIA,

Ken

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum-priorities default priority?

Post by TrevorH » 2018/05/29 14:31:39

Default priority is 99 if not specified. That's as low (least preferred) as possible.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

taylorkh
Posts: 534
Joined: 2010/11/24 15:08:33
Location: North Carolina, USA

Re: yum-priorities default priority?

Post by taylorkh » 2018/05/29 14:38:47

Thanks TrevorH,

I guess that makes sense. I will keep typing priority=1. I can do it in my sleep, and probably have :D

Please mark this thread resolved.

Thanks again,

Ken

Post Reply