Red Hat Bugzilla – Bug 109291
rpm -qa Segmentation fault
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
Description of problem:
After trying to recover from a currupt Packages database and
attepting to clean it up with:
mv Packages Packages-ORIG
/usr/lib/rpm/rpmdb_dump Packages-ORIG | \
I was able to do a
with out errors or warnings.
But trying to do a
I get a segmentation fault.
This also happens when performing an
I have the original db files before the "rpmdb_dump | rpmdb_load" and
after. It seems to fault at the same location (it doesn't mater if
it is the origional Packages file or the new "clean" one) right after
reading info about mysql.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: ...
D: read h# 1616 Header V3 DSA signature: NOKEY, key ID 66534c2b
D: read h# 1620 Header V3 DSA signature: NOKEY, key ID db42a60e
Expected Results: Return normally after rebuilding the database.
I followed the instructions on
http://www.rpm.org/hintskinks/repairdb/ and came to the point where
it suggested I fill out a bug report.
rm -f /var/lib/rpm/__db*
rpm --rebuilddb -vv
If the above fixes, then upgrade to rpm-4.2.2-0.6.
Otherwise reopen this bug and tell me how far you got please.
The above operations worked without error, and cleaned out the warinings
that the rpm -qa were reporting and it didn't crash.
> If the above fixes, then upgrade to rpm-4.2.2-0.6.
Exactly where do I find this version of the package manager?
Fedora Core 2 development at:
Watch out for -0.7 though, -0.8 pretty soon now.