Red Hat Bugzilla – Bug 140880
rpm --rebuild segfaults
Last modified: 2007-11-30 17:07:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
ppc64/iseries (Note theres no ppc64 arch option in the bugzilla list!)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Is specific to this Logical Partition, others seem to be fine
Created attachment 107470 [details]
Strace of rpm --rebuilddb
Here is an strace -s255 of the rpm --rebuilddb in question
What does the following say:
rm -f __db*
If rpmdb_verify detects problems, the fix is
mv Packages Packages-ORIG
/usr/lib/rpm/rpmdb_dump Packages-ORIG | \
rpm --rebuilddb -vv
rpmdb_verify doesn't report any problems.
OK. Could you give me a ptr (i.e. URL, rpmdb's are too big for
an attachment) to your rpmdb please?
tar czvf /tmp/rpmdb-140880.tar.gz ./rpm
and I'll see if I can reproduce the problem.
Specific to a single logical partition sounds like
some other cause than rpm however. I would expect
an rpm problem to track with an rpmdb or rpm executable,
not a logical partition. But ya never know ...
No comments, just adding myself to the CC: list
The client now informs me that they had inadvertantly restored their
backup tape over /var, including their i386 based /var/lib/rpm from
their previous machine!
Which explains a lot.
Sorry to waste your time Jeff.
Hopefully I will have some better ppc64 bug reports for you later.
(Im chasing down a few at the moment)