Setting up a local repository for RHEL 4 on a RHEL 5 box

Michael Schwendt mschwendt at gmail.com
Wed Jan 23 11:08:22 UTC 2008


On 18/01/2008, GT4NE1 <GT4NE1 at gmail.com> wrote:
> Oh, I thought you could setup your own repository server and add it to
> /etc/sysconfig/rhn/sources and apply updates from that.  I've been
> messing around with it a little and it looks like it trys to CWD to a
> headers directory. I can't figure out how to create or make that
> directory with the appropriate info though.

For old-style yum repositories with the "headers" directory in
addition to the "repodata" directory you need to run "yum-arch" and
not just createrepo. It is found in package yum-arch.




More information about the redhat-list mailing list