Bug 98548 - rpm database is trashed can not do a rebuilddb
rpm database is trashed can not do a rebuilddb
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-07-03 12:07 EDT by George Huntington
Modified: 2007-04-18 12:55 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-03 15:05:57 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 George Huntington 2003-07-03 12:07:59 EDT
From Bugzilla Helper:

User-Agent: Opera/7.01 (Windows 98; U)  [en]

Description of problem:

i get this error message

    *** dbiUpdateRecord: uh is NULL

i can't run up2date, and i can't figure out a way to fix the database

nothing i've tried seems to work

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

1.rpm --rebuilddb




Actual Results:  *** dbiUpdateRecord: uh is NULL

Segmentation fault (core dumped)

Additional info:
Comment 1 Jeff Johnson 2003-07-03 13:29:12 EDT
Can you supply pointer (attachments won't work) to tarball
of your database:
    cd /var/lib
    tar czvf /tmp/rpmdb-98548.tar.gz rpm
Comment 2 Jeff Johnson 2003-07-03 15:05:57 EDT
OK, you had several headers damaged.

A copy of you rpm/Packages file with those headers removed is
at ftp://people.redhat.com/jbj/rpmdb-98548-FIX.tar.gz.

DOwnload and install by doing
    cd /var/lib
    mv rpm/Packages rpm/Packages-ORIG
    tar xzvf rpmdb-98548-FIX.tar.gz
    rpm --rebuilddb -vv

BTW, all I did was --rebuilddb with rpm-4.1.1 or rpm-4.2,
you might want to upgrade.

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