[tools] mrepo, RHEL 5 and rhnget
Dag Wieers
dag at wieers.com
Fri May 11 16:30:13 CEST 2007
On Fri, 11 May 2007, Frédéric PICA wrote:
> I'm currently trying to mirror on rhel 5, but I'm getting this in rhnget :
>
> ImportError: cannot import name wrapperUtils
> mrepo: Mirroring failed for rhns:///rhel-i386-server-5 with message:
> Failed with return code: 256
>
> I think it's because they removed up2date from rhel 5.
mrepo does not work (yet) on RHEL5. RHEL5 ships with the up2date codebase
that mrepo uses, but is has been heavily modified (possibly to work with
Yum they removed everything that was no longer required).
Because of that the current mrepo rhnget implementation fails to work with
RHEL5, but does work with RHEL4 and RHEL3. (maybe RHEL2.1)
My aim is to replace the reliance on the up2date codebase and implement
the RHN protocol myself using xmlrpc directly, however since it is not
documented it is harder to do.
> Is it possible to create a mirror for rhel5 under a rhel4 system ?
Yes, I advise to use mrepo on a RHEL4 or RHEL3 system instead until we
make mrepo work on RHEL5. A new implementation of RHN/xmlrpc would also
allow us to run mrepo on other distributions.
Kind regards,
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]
More information about the tools
mailing list