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): rpm-4.0.5-1.7x How reproducible: Always Steps to Reproduce: 1.rpm --rebuilddb 2. 3. Actual Results: *** dbiUpdateRecord: uh is NULL Segmentation fault (core dumped) Additional info:
Can you supply pointer (attachments won't work) to tarball of your database: cd /var/lib tar czvf /tmp/rpmdb-98548.tar.gz rpm
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.