From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Description of problem: ppc64/iseries (Note theres no ppc64 arch option in the bugzilla list!) Version-Release number of selected component (if applicable): rpm-4.2.3-10 How reproducible: Always Steps to Reproduce: 1. Is specific to this Logical Partition, others seem to be fine 2. 3. Additional info:
Created attachment 107470 [details] Strace of rpm --rebuilddb Here is an strace -s255 of the rpm --rebuilddb in question
What does the following say: cd /var/lib/rpm rm -f __db* /usr/lib/rpm/rpmdb_verify Packages If rpmdb_verify detects problems, the fix is cd /var/lib/rpm mv Packages Packages-ORIG /usr/lib/rpm/rpmdb_dump Packages-ORIG | \ /usr/lib/rpm/rpmdb_load Packages 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? cd /var/lib 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 ...
http://images.elx.com.au/rpmdb-140880.tar.gz
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)