Hi.

I thought I might set up my CentOS 6 system with a source rpm repository 
config, so that I'll be able to download srpm files via "yumdownloader 
--source" or similar. I'm thinking that in order to this, I have to add 
something like the following to the yum repos config:

    [base-source]
    name=CentOS-$releasever - Base (SRPMS)
    baseurl=http://mirror.centos.org/centos/$releasever/os/SRPMS
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    #released updates
    [updates-source]
    name=CentOS-$releasever - Updates (SRPMS)
    baseurl=http://mirror.centos.org/centos/$releasever/updates/SRPMS
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6


The question is, what I specify as "baseurl"? The above does not 
actually work, as http://mirror.centos.org/ does not have SRPMS 
subdirectories, although I believe it did in the past for earlier 
versions. So, does anyone know of URLs I can use instead?

Thanks,


- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to