[tools] mrepo not creating metadata for old yum

David Gillies dgillies at fairfaxdigital.com.au
Wed Aug 20 09:38:23 CEST 2008


On Wed, 2008-08-20 at 10:06 +0300, urgrue wrote:

> I've got mrepo set up and serving rhel as5 (this works). Im trying to
> add 4WS and 4AS. These don't. I think the reason is because mrepo is not
> creating the headers file/dir that yum wants.
> My 4AS and 4WS clients use yum 2.0.7, and the 4AS section in my
> mrepo.conf contains metadata = yum repomd repoview
> 
> Running mrepo -ugvv it doesn't complain about anything, and successfully
> downloads updates and also creates the repodata directory for newer yum.
> But I don't see the headers dir for older yum.
> 
> Client-side it looks like this:
> retrygrab() failed for:
>   http://mrepo.server.com/mrepo/4WS-i386/RPMS.all/headers/header.info
>   Executing failover method
> failover: out of servers to try
> Error getting file
> http://install.elma.fi/mrepo/4WS-i386/RPMS.all/headers/header.info
> [Errno 4] IOError: HTTP Error 404: Not Found
> 
> 
> Any ideas?


If you want to run your rhel4 servers with yum 2.0.x, you'll need to
make sure you have yum-arch installed on your mrepo server to generate
the older style yum metadata. The yum-arch rpm is available from the
EPEL repository. 

http://download.fedora.redhat.com/pub/epel/5/i386/repoview/yum-arch.html

Probably the best thing to do is just upgrade yum on your rhel4 servers
to the 2.4.x versions so that they can use the repodata metadata
instead.

Regards,
David Gillies
Systems Engineer
Digital Infrastructure Services
Fairfax Digital

The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Fairfax does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility for the contents of this message or attached files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpmforge.net/pipermail/tools/attachments/20080820/f0217728/attachment.html


More information about the tools mailing list