Red Hat Bugzilla – Bug 116507
rpm -q -redhatprovides fails after Q3 update
Last modified: 2007-11-30 17:06:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Description of problem:
The update seems to use a new rpmdb format which is not compatible
with either rpm or db3
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install ES2.1 & rpmdb-redhat
2. Update to latest rpmdb-redhat
3. run rpm -q -redhatprovides rpm
Actual Results: rpmdb:
/usr/lib/rpmdb/i386-redhat-linux/redhat/Packages: unsupported hash
error: cannot open Packages index using db3 - Invalid argument (22)
Expected Results: rpm-4.0.4-7x.20
AFAIK, the rpmdb should be in Berkeley DB (Hash, version 7, native
byte-order) but is instead in Berkeley DB (Hash, version 8, native
byte-order). Perhaps this would be solved with an update to rpm or
db3 rather than a rebuild of rpmdb in V7 format.
The fix is in the rpmdb-redhat package which is mis-built
with an rpm version that uses db-4.1.25, not db-4.0.14.
Any chance of getting this fixed?
Guess what, this is still broken in U4...
*** Bug 117944 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.