[Yum] Groups & Repositories - Best Way to Setup?
Jeff Sheltren
sheltren at cs.ucsb.edu
Wed Sep 3 19:38:09 UTC 2003
Hi Seth, thanks for the quick response. I think I will end up setting
up a small yumgroups.xml, like you mentioned. I am not sure that using
a custom yum.conf will solve my problem. Basically, I want to force the
machine to install everything in the 'group1' repo. To do this, it may
need to install packages located in the RedHat Base repo, but if I have
both repositories listed in the yum.conf file, then doing a 'yum install
\*' would want to install *everything* in both the group repo and the RH
repo, correct? I want it to install everything in the group repo, but
only the necesary dependencies it needs from the base repo... As far as
I can tell, there is no way to do that without setting up the
yumgroups.xml file...
-Jeff
On Wed, 2003-09-03 at 12:26, seth vidal wrote:
>
> 2 ways:
>
> 1. use a cgi for the yum.conf and use yum -c http://mydomain/mycgi
> 2. as you said just setup a small yumgroups.xml in the top of the
> baseurl path. You don't need the full comps file - just the parts you're
> planning on using. ex:
> <?xml version="1.0"?>
> <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN"
> "comps.dtd">
>
> <comps>
> <group>
> <id>phy-workstation</id>
> <uservisible>true</uservisible>
> <name>Physics Workstation</name>
> <packagelist>
> <packagereq type="mandatory">gdm-linuxduke-theme</packagereq>
> <packagereq type="mandatory">memtest86-grub</packagereq>
> <packagereq type="mandatory">lyx</packagereq>
> <packagereq type="mandatory">grace</packagereq>
> </packagelist>
> </group>
> </comps>
>
> Then your workstations need only do:
>
> yum groupupdate "Physics Workstation"
>
> and any new mandatory or default packagereqs added to that group will be
> added onto the system.
>
> -sv
More information about the Yum
mailing list