Red Hat Bugzilla – Bug 72411
db_dump of Packages hangs (38454)
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
I tried to follow bug 38454 because had the rpm -qa segfault listed there.
I followed the steps until the db_dump Packages.old | db_load Packages thing ...
i tried to dump to the console to see what it does.
Absolutely nothing. i see its working (sort of) and leaved it alone for two
hours until decided to do something about it.
I checked some docs and found the "-r" repair option and worked so i tried
again with db_dump Packages.old -r | db_load Packages
and finished !
But rpm -qa continue segfaulting.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. db_dump Packages-ORIG | db_load Packages
Actual Results: Nothing at all
Expected Results: return an error at least
Red Hat 7.1
OK, I did a rebuilddb with rpm-4.1, that seems
to have fixed most everything (although ~6-7 headers
The fixed copy of your Packages file is at
Download and install by doing
mv rpm/Packages rpm-Packages-SAVE
tar xzvf rpmdb-72411-FIX.tar.gz
rpm --rebuilddb -vv
and verify by doing
Thank you very much.