From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 Description of problem: After a bad shutdown, fsck changed filesystem. So maybe the database was a bit modified or so. Now at each rebuilddb or even rpm -qa, I get a core dump at end of operation (it seems) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpm --rebuilddb on with my /var/lib/rpm 2. 3. Additional info: I can send you the tarfile for the /var/lib/rpm directory if you wish.
Try a --rebuilddb with rpm-4.0.3 from ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x There's a tarball of binaries there as well. Reopen this bug if that does not fix your problem.