CentOS Source Rpm Repository Setup

Home » CentOS » CentOS Source Rpm Repository Setup
CentOS 5 Comments

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

5 thoughts on - CentOS Source Rpm Repository Setup

  • Thanks, we can perhaps roll that in as is, but with sources being repo specific it can get quite noisy. Overall better goal might be to have a single source repo that then covers the point release and splits as well.

    – KB

  • Thanks, we can perhaps roll that in as is, but with sources being repo specific it can get quite noisy. Overall better goal might be to have a single source repo that then covers the point release and splits as well.

    – KB

  • Yep. I agree.

    I was just going to say that a problem with vault is that you have to update the repository location every time the “minor” version number changes. We really want repositories like vault.CentOS.org/6/os/Source and vault.CentOS.org/6/updates/Source. Unless, that is, we can somehow get yum to set up a variable containing a “full” version number like 6.4.

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

  • Because of what and how the /X/ release symlinks work – that url style isnt going to work either. It might beed to be a vault.CentOS.org/CentOS/6-sources/ to include the entire distro stuff. Which in turn might just be a meta repo, with urls pointing to the
    ‘usual and normal’ paths.

    Let me look at whats involved to make that happen and we can get a testing repo online; I then need to get something similar up for the yum-security infra to work against the binary rpms side of things ( but is a bigger fish to fry )

    Regards

LEAVE A COMMENT