The rpm data base is corrupted and using the standard process that is listed it will not repair. This is with redhat 9, db3.1 The issue is listed below: [root@ieee rpm]# db_verify Packages db_verify: Old or incorrect DB version; extraneous errors may result db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed [root@ieee rpm]# mv Packages Packages-ORIG [root@ieee rpm]# db_dump Packages-ORIG | db_load Packages db_dump: Packages-ORIG: unsupported hash version: 8 db_dump: open: Packages-ORIG: Invalid argument Any help at all would be great.
RPM uses an internalized copy of Berkeley DB, which in this case is newer than the version of db_recover you have installed. If you have the rpm-devel package installed, the tools you need for manipulating the database are in /usr/lib/rpm, and named rpmdb_* (instead of the default db_*). If not, use rpm2cpio to extract the contents to a temporary location and run them from there ("rpm2cpio rpm-devel-4.2.0-0.69.i386.rpm | cpio -dvi"). Marking as notabug and changing component to 'rpm'. If the standard process is documented somewhere in RHL documentation, please let us know so that we can have it changed. Thanks!