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

Tomas Lestach tlestach at redhat.com
Thu May 9 09:24:26 UTC 2013


> > We cache only the repodata parts for every rpm. When regenerating
> > repodata, we put all the repodata rpm parts together (according to
> > the
> > channel rpms) and generate whole repodata files.
> 
> Here could be the first problem. Sometimes it happens, that these XML
> parts
> are not created correctly but they are stored in the cache table.

Yes, lately we've fixed this kind of problem. Since then we do not have
any other related bug reports.

> This would
> mean, that you always get invalid metadata generated.

Correct. That's why we need to generate them correctly. :-)

> > All the files are
> > newly created, so the modification dates shall be set accordingly.
> 
> Hmm, at the end of a repodata create the dates are set to the last
> repo sync
> date. The time you see, is not the time when this cache files were
> created.

Oh, you're right.
Thanks Michael for correcting me,
--
Tomas Lestach
RHN Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list