Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 28520 - rpmdb-redhat doesn't work, wrong db format
rpmdb-redhat doesn't work, wrong db format
Status: CLOSED DUPLICATE of bug 22911
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-02-20 18:13 EST by Daniel Resare
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-20 18:13:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Daniel Resare 2001-02-20 18:13:33 EST
[noa@localhost rpm]$ rpm -q rpmdb-redhat

[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 07:03:26 EST

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

Note You need to log in before you can comment on or make changes to this bug.