rpmdb_verify: /var/lib/rpm/Basenames: DB_VERIFY_BAD: Database verification failed
This document (000020247) is provided subject to the disclaimer at the end of this document.
Environment
Situation
# /usr/lib/rpm/rpmdb_verify /var/lib/rpm/Basenames rpmdb_verify: Page 1424: unreferenced page rpmdb_verify: Page 1424: totally zeroed page ... rpmdb_verify: Page 1443: unreferenced page rpmdb_verify: Page 1443: totally zeroed page rpmdb_verify: /var/lib/rpm/Basenames: DB_VERIFY_BAD: Database verification failed
Resolution
1. Backup of RPM database
mkdir /tmp/rpm_backup rsync -av /var/lib/rpm/. /tmp/rpm_backup/.2. Rebuild RPM database
rpm -vv --rebuilddb > /tmp/rpm_rebuilddb.log 2>&13. Check if there are no more messages/errors
/usr/lib/rpm/rpmdb_verify /var/lib/rpm/Basenames
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020247
- Creation Date: 14-May-2021
- Modified Date:31-May-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com