Bug 46809 - After upgrade 6.2 -> 7.0, RPM stopped working
After upgrade 6.2 -> 7.0, RPM stopped working
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-06-30 18:23 EDT by Greg
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-06-30 18:23:15 EDT
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 Greg 2001-06-30 18:23:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.16-3 i586)

Description of problem:
RPM stopped working with the error "could not open packages index with
db1".  It was trying to open /var/lib/rpm/packages.rpm according to strace,
which is the old rh6.2 filename.  I solved it by chainging
/etc/rpm/macros.db1 to contain "%_dbapi         3" where it had contained
"%_dbapi         1".

Upgrade was using a custom-spun RH7.0 CDROM with all the updates as of
today (30-June-2001), as far as I know.  Some installer files may not have
been updated, but all RPMS were as well as some installer files.

How reproducible:
Didn't try

Actual Results:  I would have to restore from backup and attempt to
re-upgrade the server in order to reproduce the problem.  I have no
intention to do that to a production server.  I do know that the problem
comes back if I change the "3" back to "1" in /etc/rpm/macros.db1.  Every
time. :)

Additional info:

rpm version rpm-4.0.2-7x.i386.rpm
Comment 1 Brent Fox 2001-07-11 14:19:19 EDT
Since it was a custom spun 7.0, there's pretty much no chance for me to
reproduce the problem.

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