Red Hat Bugzilla – Bug 132234
rpm rebuilddb does not rebuild the db properly
Last modified: 2007-11-30 17:07:04 EST
Description of problem:
rpm --rebuilddb doesnot recover the rpmdb. db_verify gives
error "Program version 4.1.25 doesn't match the
environment version 4.1.24"
Version-Release number of selected component (if applicable):
Most rpm or applications shown "not installed" from the "Add/Remove
Applications" menu option.
Steps to Reproduce:
1. cd /var/lib/rpm
2. rm -f __db.00*
3. rpm --rebuilddb -vv
Program version 4.1.25 doesn't match the
environment version 4.1.24
rpm database rebuilt
System still runs fine. Do not want to re-install as the Oracle is
Changing component to rpm since that's actually what you're having issues with.
What does the following say:
rm -f __db*
I'm also unsure why db_verify is 4.1.24.
Could you supply the output of
rpm -qf `which db_verify`
to identify which package installed db_verify?