How do I verify the integrity of the rpm database Packages file in Red Hat Enterprise Linux?
Updated on
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
It is recommended to backup the rpm directory before working on it with the command:
# cp -a /var/lib/rpm/ /var/lib/rpm.old
RHEL 8 and earlier
# cd /var/lib/rpm
# /usr/lib/rpm/rpmdb_verify Packages
Alternative
...