[CentOS] yum priorities question

Tue Oct 14 16:08:19 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>

Hi,

On Tue, Oct 14, 2008 at 05:44, Mufit Eribol <hme at onart.com.tr> wrote:
> Installed package: GeoIP.i386 1.4.4-1.el5.centos
> Repo: CentOS Extras
> Priority for CentOS Extras repo: 1
>
> "yum update" wants to replace the above package with the following:
>
> Package: geoip.i386 1.4.5-1.el5.rf
> Repo: rpmforge
> Priority for rpmforge: 15

The package names are different, so probably "geoip" (from RPMforge)
obsoletes "GeoIP" from CentOS.

In that case, for priorities to work and exclude the one that
obsoletes the other, you have to set this option in the [main] section
of /etc/yum/pluginconf.d/priorities.conf:

check_obsoletes=1

Look for the thread about perl-DBD-mysql vs. perl-DBD-MySQL, it's
probably the same issue.

HTH,
Filipe