Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 27435 - Upgrade to RPM 4.0 wipes out RPM database
Upgrade to RPM 4.0 wipes out RPM database
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
sparc Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-02-13 14:24 EST by vgb
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-13 14:25:01 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 vgb 2001-02-13 14:24:56 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.73 [en] (X11; U; Linux 2.4.0-test8 i686)

I installed the RPM 4.0 distribution from ftp.rpm.org in the dist
directory. Problem is, as
soon as I install it the old RPM database is completely gone. rpm -qa shows
no entries.
Trying to install any more RPMs fails because it keeps complaining about

Yes I  did do an rpm --rebuilddb first.

This is on an otherwise standard Red Hat 6.2 Sparc install. I've seen the
same problem on LinuxPPC, using RPMs built from the SRPMS on the
same site.

The rpm.org site says this is the place to report bugs for rpm, so I'm
reporting it here.

Reproducible: Always
Steps to Reproduce:
1. Take a Sparc running Red Hat 6.2
2. get popt, db3 and rpm from ftp.rpm.org/pub/rpm/dist/rpm-4.0.x. I got the
*-6x.sparc.rpm packages
3. Install popt, db3 and rpm packages thus obtained
4. Try rpm -qa. All your package info is gone.
5. If you like try rpm --rebuilddb. Package info stays gone.

Actual Results:  All the package info was gone. Also the files in
/var/lib/rpm are much smaller, so it does seem like installing rpm deleted
the old database.

Expected Results:  Shouldn't have deleted my RPM databse.

I really wish someone had tested the package before releasing it. Once
would have been enough.
Comment 1 Jeff Johnson 2001-02-13 15:33:22 EST
Your database is still there, I will send instructions in a moment.

FWIW,  you will want to upgrade to rpm-4.0.1 from
if you wish to continue using rpm-4.0. Or go back to rpm-3.0.5, instructtions on
coming in a moment.

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