Bug 634 - rpm 2.5.7 breaks database
rpm 2.5.7 breaks database
Status: CLOSED CURRENTRELEASE
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
1.0
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-12-28 11:10 EST by sds
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-12-29 21:39:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description sds 1998-12-28 11:10:39 EST
after upgrading to rpm-2.5.7-1,
# rpm -q rpm
cannot open file //var/lib/rpm/nameindex.rpm:
rpmQuery: rpmdbOpen() failed
# ls -l /var/lib/rpm
total 13490
-rw-r--r--   1 root     root        16384 Dec 28 10:43
conflictsindex.rpm
-rw-r--r--   1 root     root      5259264 Dec 28 10:43
fileindex.rpm
-rw-r--r--   1 root     root        16384 Dec 28 10:43
groupindex.rpm
-rw-r--r--   1 root     root        28672 Dec 28 10:43
nameindex.rpm
-rw-r--r--   1 root     root      9449608 Dec 28 10:43
packages.rpm
-rw-r--r--   1 root     root        24576 Dec 28 10:43
providesindex.rpm
drwxr-xr-x   2 root     root         1024 Dec 28 10:46
rebuilddb.20258
drwxr-xr-x   2 root     root         1024 Dec 28 10:46
rebuilddb.20259
drwxr-xr-x   2 root     root         1024 Nov 30 15:12
rebuilddb.8
-rw-r--r--   1 root     root        53248 Dec 28 10:43
requiredby.rpm
-rw-r--r--   1 root     root        16384 Dec 28 10:43
triggerindex.rpm
# rpm --rebuilddb
cannot open file //var/lib/rpm/nameindex.rpm:
#
Comment 1 Jeff Johnson 1998-12-28 11:33:59 EST
Try
	rpm --rebuilddb
and reopen this bug if there is still a problem.
Comment 2 sds 1998-12-28 12:25:59 EST
# rpm --rebuilddb
cannot open file //var/lib/rpm/nameindex.rpm:
# ls -l /var/lib/rpm/
total 13538
   1 drwxr-xr-x   3 root     root         1024 Dec 28 16:13 ./
   1 drwxr-xr-x   7 root     root         1024 Aug  2 10:30 ../
  14 -rw-r--r--   1 root     root        16384 Dec 28 14:57
conflictsindex.rpm
4084 -rw-r--r--   1 root     root      5259264 Dec 28 14:57
fileindex.rpm
  14 -rw-r--r--   1 root     root        16384 Dec 28 14:57
groupindex.rpm
  22 -rw-r--r--   1 root     root        28672 Dec 28 14:57
nameindex.rpm
9315 -rw-r--r--   1 root     root      9499208 Dec 28 14:57
packages.rpm
  22 -rw-r--r--   1 root     root        24576 Dec 28 14:57
providesindex.rpm
   1 drwxr-xr-x   2 root     root         1024 Dec 28 16:13
rebuilddb.23848/
  50 -rw-r--r--   1 root     root        53248 Dec 28 14:57
requiredby.rpm
  14 -rw-r--r--   1 root     root        16384 Dec 28 14:57
triggerindex.rpm
Comment 3 Jeff Johnson 1998-12-29 21:39:59 EST
rpm-2.5.7 now looks for (and uses) the "original db-1.85" rather
than attemptimg to use the (apparently broken) db_185.h retrofit.

Fixed in rpm-2.5.7-2.

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