From Fedora Project Wiki
Description
A simple check that the repodata (yum metadata) for a given repository is valid.
How to test
- open
repodata/repomd.xml - confirm that there is a
<data>element withtype="primary"ortype="primary_db" - confirm that there is a
<data>element withtype="filelists"ortype="filelists_db" - confirm that there is a
<data>element withtype="other"ortype="other_db" - confirm that there is a
<data>element withtype="group"ortype="group_gz" - For each element listed above, check that the file listed in the
<location>element is:- present,
- non-empty, and
- matches the checksum listed in the
<checksum>element
Expected Results
repomd.xmlexistsrepomd.xmlcontains entries forprimary,filelists,group, andothermetadata- the files referenced in those entries are present, non-empty, and match the listed checksums
