[ydl-gen] yum conf mess

Bill Fink billfink at mindspring.com
Tue Nov 21 15:43:16 MST 2006


Hi Derick,

My main points were to let people know that the posted (not by me)
yum.conf would probably not work as intended and that the redundant
"[update]" repository section was unnecessary.

						-Bill



On Tue, 21 Nov 2006, Derick Centeno wrote:

> Hi Bill:
> 
> I must admit that's the first time I'm seen a yum.conf file written that 
> way.  I've never seen that type of structure expressed anywhere within 
> the official TSS archives or even recently.  I can't say that style of 
> coding yum.conf has never been used, but I am very sure that this form 
> which you've posted was never formally recommended.
> 
> Perhaps others will recognize it; as for myself I find it baffling.  I 
> don't see how it would work or if it did.  Is your point that it does 
> not work as written, so don't use it?
> 
> 
> Bill Fink wrote:
> >
> > >From "man yum.conf":
> >
> >        baseurl
> >               Must  be  a  URL  to  the  directory where the yum repository's
> >               'repodata' directory  lives.  Can  be  an  http://,  ftp://  or
> >               file://  URL.  You  can  specify  multiple  URLs in one baseurl
> >               statement. The best way to do this is like this:
> >               [repositoryid]
> >               name=Some name for this repository
> >               baseurl=url://server1/path/to/repository/
> >                       url://server2/path/to/repository/
> >                       url://server3/path/to/repository/
> >               If you list more than one baseurl= statement  in  a  repository
> >               you will find yum will ignore the earlier ones and probably act
> >               bizarrely. Don't do this, you've been warned.
> >
> > So the multiple baseurl= lines above are not a good idea.


More information about the yellowdog-general mailing list