[CentOS] yum repository conflict resolutions

Tue Mar 28 09:11:05 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Tue, 2006-03-28 at 01:41 -0500, Alain Reguera wrote:
> On 3/28/06, Dave <dmehler26 at woh.rr.com> wrote:
> > if i then do a
> > yum update on this box and more than one repository has a package say kernel
> > which does it get? Or, if a package has a library dependency and that is
> > installed and it conflicts with another, how would this be resolved?
> 
> with protectbase yum's plugin?

That is one option.

The plugin is named:

yum-plugin-protectbase

You would also need to edit your /etc/yum.conf and add this line (after
installing the protectbase plugin):

plugins=1

The other option is to only include the packages you need from
centosplus and dags repo using the "includepkgs=" yum.conf repo option.
If you put this in the centosplus repo definition, you will get only the
postfix programs (for example):

includepkgs=postfix postfix-pflogsumm

Then when running updates and installs, only postfix and postfix-
pflogsumm would be looked at from the centosplus repo.

For more yum info see:
http://mirror.centos.org/centos/4/docs/html/yum/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060328/eee7c989/attachment-0004.sig>