Bug 28520

Summary: rpmdb-redhat doesn't work, wrong db format
Product: [Retired] Red Hat Linux Reporter: Daniel Resare <noa-bugzilla-redhat>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-20 23:13:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Resare 2001-02-20 23:13:33 UTC
[noa@localhost rpm]$ rpm -q rpmdb-redhat
rpmdb-redhat-7.0.90-0.20010126

[noa@localhost rpm]$ rpm --redhatprovides foobar
error: cannot open Packages index using db3 - No such file or directory (2)

a strace reveals that rpm seems to ignore the *.rpm files in
/usr/lib/rpmdb/i386-redhat-linux/redhat/ (old format) and instead trying to
open Packages (new format) which isn't there.

open("/usr/lib/rpmdb/i386-redhat-linux/redhat/Packages", O_RDONLY) = -1
ENOENT (No such file or directory)

so the rpmdb-redhat package should be updated to use the new db format
(and a component for the rpmdb-redhat package should be added to bugzilla)

Comment 1 Jeremy Katz 2001-02-21 12:03:26 UTC

*** This bug has been marked as a duplicate of 22911 ***