From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Description of problem: Well trying to install a few RPMs I got hooked up so I needed to clean out my RPM database and had a problem doing so. I did the follow: # rm-f /var/lib/rpm/__db* # db_verify /var/lib/rpm/Packages db_verify: Old or incorrect DB version; extraneous errors may result db_verify: DB->verify: /var/lib/rpm/Packages: DB_VERIFY_BAD: Database verification failed # rpm --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy I sought advice from a several individuals to no avail and was told to try reporting it. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. # rm-f /var/lib/rpm/__db* 2. # db_verify /var/lib/rpm/Packages 3. # rpm --rebuilddb Actual Results: 1. Nothing 2. db_verify: Old or incorrect DB version; extraneous errors may result db_verify: DB->verify: /var/lib/rpm/Packages: DB_VERIFY_BAD: Database verification failed 3. error: db4 error(16) from dbenv->remove: Device or resource busy Additional info:
You are attempting to use db_verify-4.0.14 to verify a db-4.1.25 database. Use /usr/lib/rpm/rpmdb_verify instead, same arguments (in fact, same program), but from db-4.1.25 used by rpm.
*** Bug 111230 has been marked as a duplicate of this bug. ***