Restoring corrupt rpm database

If you have a corrupt rpm database, simply delete the db files and rebuild it again.

# rm -rf /var/lib/rpm/*db.*
# rpm --rebuilddb

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

rpm db recovery

Comment