[Spacewalk-list] How to force a channel repodata rebuild?

Tomas Lestach tlestach at redhat.com
Mon May 6 12:16:45 UTC 2013


> So, enough of my story. How does one go about identifying a 'corrupt'
> repodata?

Would you sent a package link you have trouble with? I'd try to check it.

> Or adequately how do I trigger a complete rebuild without
> having to remove/add a package? (I tried the
> channel.software.regenerateNeededCache() API call but didn't seem to
> do what I was looking for)

Actually you did it right -
> removing  /var/cache/rhn/repodata/<channel> and triggered a rebuild via the
> channel.software.regenerateYumCache() API call
is one of good ways how to do it.
If you do not remove channel repodata manually, you cannot really enforce
the regeneration.


Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list