[ydl-gen] yum conf mess

Bill Fink billfink at mindspring.com
Sun Nov 19 22:29:08 MST 2006


On Sat, 18 Nov 2006, Norberto Quintanar wrote:

>  [main]
>  cachedir=/var/cache/yum
>  debuglevel=2
>  logfile=/var/log/yum.log
>  pkgpolicy=newest
>  distroverpkg=yellowdog-release
>  tolerant=1
>  exactarch=1
>  obsoletes=1
> 
>  [base]
>  name=Yellow Dog Linux 4.1 Base
>  baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.1/base/
>  baseurl=http://ydl.osuosl.org/yum/4.1/base/
>  #baseurl=http://mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/4.1/ 
>  base/

>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.

>  [updates]
>  name=Yellow Dog Linux 4.1 Updates
>  baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.1/update/
>  baseurl=http://ydl.osuosl.org/yum/4.1/updates/
>  #baseurl=http://mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/4.1/
>  updates/
> 
>  [extras]
>  name=Yellow Dog Linux 4.1 Extras
>  baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.1/extras/
>  baseurl=http://ydl.osuosl.org/yum/4.1/extras/
>  #baseurl=http://http:mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/
>  4.1/extras/
> 
>  [update]
>  name=Yellow Dog Linux 4.1 Update
>  baseurl=http://ydl.osuosl.org/yum/4.1/update/
>  #baseurl=http://mirror.ac.uk/mirror/ftp.yellowdoglinux.com/yum/4.1/
>  update/

The "update" area is for older YDL versions.  Newer versions use
an "updates" area.  There is an "update" symbolic link for compatibility
purposes that simply points to the "updates" area.  So including both
the "[updates]" and "[update]" as repositories simply results in
checking the "[updates]" repository twice.  It would thus be best
to delete the "[update]" repository section.

						-Bill


More information about the yellowdog-general mailing list