[ydl-gen] yum conf mess

Derick Centeno aguilarojo at verizon.net
Tue Nov 21 15:17:54 MST 2006


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