RPM's rebuild database mode is used to rebuild an RPM database:
Format: rpm --rebuilddb <options>
Only the global options may be used.