From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.2.1) Gecko/20010901 Description of problem: I started getting errors when adding packages after a clean 7.2 install. I tried rpm --rebuilddb, but it segfaults. I downloaded the rpm update from the RH site, but that does the same. I installed rpm 4.04 from the 7.3 disks, but the problem persists. I tried some of the other fixes such as those mentioned in 57112, and got rid of the bad record rpm -qa was reporting, but I still can't rebuild my database. Version-Release number of selected component (if applicable): 4.03 & 4.04 How reproducible: Always Steps to Reproduce: 1.rpm --rebuilddb -vv 2. 3. Actual Results: lots of stuff, then: D: +++ 162 findutils-4.1.7-1 D: adding "findutils" to Name index. D: adding 10 entries to Basenames index. D: adding "Applications/File" to Group index. D: adding 12 entries to Requirename index. D: adding "findutils" to Providename index. D: adding 5 entries to Dirnames index. D: adding 12 entries to Requireversion index. D: adding "1:4.1.7-1" to Provideversion index. D: adding 1 entries to Installtid index. D: adding 1 entries to Sigmd5 index. D: adding 10 entries to Filemd5s index. Segmentation fault (core dumped) Expected Results: Database rebuild completed. Additional info: A tarfile of my /var/lib/rpm can be found at: http://krysia.orcon.net.nz/rpmdb.tar.gz
Instance #65 was bad. Sorry I don't know what package that was. I've deleted instance #65, and done a --rebuilddb. You can find a fixed copy of your rpm/Packages at ftp://people.redhat.com/jbj/rpmdb-65641-FIX.tar.gz Download and install by doing (as root) cd /var/lib mv rpm/Packages rpm/Packages-SAVE tar xzvf rpmdb-65641-FIX.tar.gz rpm --rebuilddb -vv and you should be OK.