[elrepo] ELRepo, RPMForge and yum-priorities
Alan Bartlett
ajb at elrepo.org
Sat Nov 13 08:16:03 EST 2010
On 13 November 2010 08:27, Nicolas Kovacs <contact at kikinovak.net> wrote:
<snip>
> I just played around a bit with [elrepo], and here's a configuration I figured
> out. Please correct me if I'm doing something silly here.
>
> [base], [updates], [extras]
> enabled=1
> priority=1
>
> [elrepo]
> enabled=1
> priority=1
>
> [rpmforge]
> enabled=1
> priority=10
I would be inclined to configure the system as follows --
[base], [updates], [extras]
enabled=1
priority=1
[elrepo]
enabled=0
priority=5
[rpmforge]
enabled=0
priority=10
Then my daily check for updates (a cron job) would execute --
yum --enablerepo=elrepo,rpmforge check-update
If on one of those very rare occasions where we need to replace a core
package, I would --
yum --disablerepo=\* --enablerepo=elrepo update name_the_package
Obviously there are a number of ways of achieving the desired result,
each with its advantages / disadvantages.
Alan.
More information about the elrepo
mailing list