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

GT4NE1 GT4NE1 at gmail.com
Wed Jan 23 18:45:58 UTC 2008


Thanks for all the replies.

Maybe I'm asking the wrong question then? What I'm looking for is a
way to implement a good change management system with my RHEL 4 ES U4
servers.

If I use RHN and upgrade and install packages with up2date, it will
install a newer version of the package than the one that came with
Update 4. For instance, if you up2date --install postfix on an U4 box,
it will install the version that came with U5. Now they are both
postfix 2.2.10-1, but they are slightly different.

I want to be able to install the same packages that came with U4, but
I want to put that on a central server that every server can access. I
would just install the packages manually, but the nice thing about
up2date is it resolves dependencies.

Any ideas on how I can do that with RHEL4?

Thanks,

-GT

On Jan 23, 2008 3:08 AM, Michael Schwendt <mschwendt at gmail.com> wrote:
> 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.
>
> --
>
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Matt Krause
krausem at gmail.com




More information about the redhat-list mailing list