Description of Problem: rpm -qp gives exit code 0 even if the package is broken. Please fix. How Reproducible: Steps to Reproduce: $ rpm -qp ttfonts-ja-1.0-3.noarch.rpm ; echo $? warning: Expected size: 8763422 = lead(96)+sigs(160)+pad(0)+data(8763166) warning: Actual size: 153600 ttfonts-ja-1.0-3 0 Actual Results: exit code 0 Expected Results: exit code != 0 Additional Information:
This is now a warning, not an error. Since it's now possible to put installed bits back into a package using --repackage, and the version of zlib used causes the package to have a different size, there's no way to differntiate that case from the more typical case (at the moment) of a damaged package. Use rpm -K to verify package integrity.