[tools] synching rhel-i386-client-workstation-5 using mrepo

Dag Wieers dag at wieers.com
Fri Jul 6 16:22:11 CEST 2007


On Fri, 6 Jul 2007, Bjoern Engels wrote:

> On Fri, Jul 06, 2007 at 02:51:26PM +0200, Dag Wieers wrote:
> > On Fri, 6 Jul 2007, Bjoern Engels wrote:
> [...]
> > > mrepo: Mirroring failed for rhns://rhel-i386-client-workstation-5 with
> > > message:
> > >   Failed with return code: 256
> > > 
> > > Is there any way to get these packages using mrepo?
> > 
> > You have a syntax error in your URL. There is a missing / and that makes 
> > the URL be parsed using rhel-i386-client-workstation-5 as the servername.
> > 
> > The syntax is:
> > 
> > 	rhns://server:port/channel
> > 
> > so in your case that needs to be:
> > 
> > 	rhns:///rhel-i386-client-workstation-5
> > 
> > not
> > 
> > 	rhns://rhel-i386-client-workstation-5
> 
> Indeed, it's fixed and seems to work now. (At the moment the box is
> still synching rhn-tools.)
> Maybe you should fix this in your svn tree, too - I duplicated the line
> rhn-tools = rhns://$repo-rhel-$arch-client-5 and substituted just the
> part after rhns://
> Or does $repo imply a / in this syntax?

No, you're correct. This is a typo. Thanks for reporting, I fixed it right 
away !


> PS: Thanks for your fast reply and this neat piece of software - my own
> tries to get a full copy of RHN packages were a PITA ;)

I am wondering, did you succeed in using the RHEL5 up2date codebase or did 
you just replace it with the RHEL4 or RHEL3 codebase ?

Because in that case, the svn version references as well to 
/usr/share/mrepo/rhn/, so if you drop the up2date code from RHEL4 into 
that directory it picks up the alternative codebase instead of 
/usr/share/rhn/.

That's probably the best way forward at this point.

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