[CentOS] yum priorities and rpmforge...
Akemi Yagi
amyagi at gmail.com
Tue Sep 1 14:14:24 UTC 2009
On Tue, Sep 1, 2009 at 7:07 AM, Johnny Hughes<johnny at centos.org> wrote:
> John Doe wrote:
> If CentOS repos are 1 and rpmforge is 2 (or higher), then yes it will
> PROTECT the CentOS repo from updated from rpmforge. This is the
> behavior regardless of if where the installed packages are from. If
> rsync is in both CentOS and RPMForge ... you will always get rsync from
> CentOS with yum (even if you manually installed the rsync from RPMForge
> ... yum will still use the one from the CentOS repos)
>
> If you want to get a file from RPMForge and not a REPO that has a
> priority number that is lower (ie 1 vs 2 in this case), then in the
> higher priority repo, you need to add an "exclude=" line in the
> CentOS-Base.repo file for that repo (in this case, in the base and
> updates sections). You would put this:
>
> exclude=rsync
To the OP,
This is all well documented in the CentOS wiki.
http://wiki.centos.org/AdditionalResources/Repositories
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
http://wiki.centos.org/PackageManagement/Yum/Priorities
Akemi
More information about the CentOS
mailing list