  | |  | Failed attempt at rebuilding RPM database | Failed attempt at rebuilding RPM database 2003-05-03 - By M A Young
Back On Sat, 3 May 2003, Steven P. Ulrick wrote:
> Hello, Everyone :) > When I attempt to rebuild my corrupted RPM database, following the > following instructions that I got off the Red Hat 8 list: ...
What makes you think the database is corrupted? Not all errors are the result of corruption (in particular rpm --rebuilddb issues a harmless db4 error even when it works correctly).
> I get the following result when I do step 6 (I 'm omitting step five from > this message, as it just proved that my RPM db was hosed: > db_dump: region error detected; run recovery. > db_dump: Packages-ORIG: unsupported hash version: 8 > db_dump: open: Packages-ORIG: Invalid argument
Your rpm packages use a later db4 version than your db4 packages (which seems to be the case for RedHat 9). Looking at
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89931
may help.
> A quick question: I hear a lot about upgrading to the version of RPM > that is at people.redhat.com/jbj/test-4.1
That is old now. rpm-4.2 is the one which people may have mentioned on this list, but it may not help you if your database is corrupt.
Michael Young
|
|
 |