Description of problem: rpm prints error messages with binary data. (Not sure if rpm or db4 is at fault). Version-Release number of selected component (if applicable): rpm-4.2-0.65 db4-4.0.14-17 How reproducible: Every time. Steps to Reproduce: 1. As non-root, try to remove some installed rpms: rpm -e XFree86-ISO8859-2-75dpi-fonts-4.2.99.4-20030129.4 2>&1|less Actual results: Some of the error message contains binary data. Cut'n'paste from less: rpmdb: c_del: attempt to modify a read-only tree error: db4 error(13) from dbcursor->c_del: Permission denied error: error(13) removing record "<CB><FC>uj-4<CC>xO<A7>#<9B>F<83>88^^" from Filemd5s Expected results: The error messages should only contain text.
You've got bigger problems than binary data in error message. Try rm -f /var/lib/rpm/__db* rpm --rebuilddb -vv and repeating whatever caused the above. Please attach sufficient input/output to reproduce this problem if you reopen this bug.