Red Hat Bugzilla – Bug 140838
stock fc3 rpm produces 272 lines of error messages when run
Last modified: 2007-11-30 17:10:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
This occurred after an upgrade from fc2
The errors in question can be viewed at:
I ran strace on rpm to see where the problem was coming from
strace rpm --verify bash 2>&1 | grep '^open' | grep -v ENOENT | cut
-d\" -f2 | xargs grep policy | grep tree
It pointed at /usr/lib/rpm/macros which is part of the rpm package. I
ran rpm --verify rpm to make sure that the package was unmodified, and
it turned out that /usr/lib/rpm/rpmrc was modified. Since there was no
.rpmnew file lying around, I downloaded a new copy of the rpm rpm, and
installed it with: rpm -Uvh --force rpm-4.3.2-21.i386.rpm
rpm --verify rpm
appears to verify that the package is indeed the stock rpm-4.3.2-21
package with no files modified, and the errors still occur.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Not sure how to reproduce, but I came across this immediately after
upgrading from fc2 to fc3.
Certain rpm commands, such as "rpm --verify rpm" (but not rpm -q rpm
or rpm --help) produce the errors.
Actual Results: Lots of output on stderr
Expected Results: No output on stderr
Did you upgrade all the rpm packages from only fc3?
The error message is from an rpmlib w/o lua support,
look for a librpm-4.3.1 package that needs to be removed.
Thanks! I messed up -- I should have checked the packages for all the
libraries that rpm opened as well. I upgraded librpm4.3 from atrpms
and the errors go away.