[SLL] yum repos and the mysterious life of releasever

jkeating jkeating at j2solutions.net
Wed Oct 17 18:38:37 PDT 2007


On Wed, 17 Oct 2007 18:19:58 -0700
Bill Campbell <bill at celestial.com> wrote:

> How does yum parse the /etc/yum.repos.d/*.conf and/or /etc/yum.conf
> files? If there are multiple [updates] sections, which one prevails?
> I'm pretty familiar with the python ConfigParser module, but I'm not
> sure if that's what yum is using under the hood.

Yum is using something that is actually a bit nicer, and may be
packaged separately soon.

Anyway each [foo] section is treated as a block.  I'm not actually sure
what happens if you define multiple of them, yum may actually balk on
that.

-- 
Jesse Keating RHCE      (jkeating.livejournal.com)
Fedora Project          (fedoraproject.org/wiki/JesseKeating)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists2.linuxjournal.com/pipermail/linux-list/attachments/20071017/17e2b905/attachment.sig 


More information about the linux-list mailing list