That checked some of the data in the RPM database files. As the output
from that is odd, the database files should be checked for integrity,
hopefully with `rpm --verifydb`. If problems are found, the RPM database
can often be rebuilt if the Packages file is OK, with `rpm --rebuilddb`
unless that has been removed also.

'rpm --verifydb' doesn't output anything at all which I presume means that
the integrity of the database is ok.