[Gllug] yum and multiple archives

Alain Williams addw at phcomp.co.uk
Wed Aug 8 14:38:45 UTC 2007


I am using yum on a RedHat 5 (CentOS really), against the standard (base) CentOS
archive (repository) and also Dag's archive (lots on nice rpms).

Dag provides a few packages that are already in the base archive, eg rsync,
but slightly different versions. I would like to use the RPMs in the base
archive by preference and only use Dag for the ones that it doesn't have
(eg nagios).

The trouble is that if I have Dag activated a yum update will try to update
things (eg rsync) from Dag. I have found that, occasionally, this can lead to problems.

My question is how to I configure it to ignore anything in Dag that is in the
base archive ? I don't want to use a big long "exclude=..." line, hard to do
and difficult to maintain.

I suspect that the 'groups' directives will let me do this, but the documentation
is very sparse ... has anyone succeeded ?

-- 
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list