[Spacewalk-list] reposync and rhnpush]

John Hodrien J.H.Hodrien at leeds.ac.uk
Wed Feb 11 09:09:57 UTC 2009


On Tue, 10 Feb 2009, m.roth2006 at rcn.com wrote:

> Ok, as far as I can tell, there's a bug in reposync.
>
> When I use the call straight, and give it -a x86_64, it completely ignores the flag, and overrides it with the current archetecture (32-bit, in this case).
>
> I've copied the CentOS-Base.repo from /etc/yum.repos.d. I've tried:
>   a) commenting out the mirrorlist, and uncommenting the
>       baseurl, as it says in the original.
>   b) replacing $releasever and &arch with literals - in
>       this case, 5.2 and x86_64

Yep.  Rather than replacing just a repo file, I replace the whole yum.conf,
and hardcode the architecture and release.

Works fine for me,

jh

-- 
"Committee - a group of men who individually can do nothing but as a group
  decide that nothing can be done."                   -- Fred Allen




More information about the Spacewalk-list mailing list