After a clean 5.9 install, (once rpm has been made functional), attempting to combine -q with -i produces the error "unknown option" instead of displaying the package's information.
Does "rpm -qi rpm" do the right thing? Please reopen with the exact syntax (and version: rpm --version) that is failing ...
No, rpm -qi also failed, with the same error. The version was 2.92 that shipped with the 5.9 beta release... I did not repost because this problem was resolved when I installed rpm-2.92-13.i386.rpm from rawhide, as per bug #1688. (I had to use the --ignorearch option to install, however.)
The --ignorearch is troublesome. Thanks for the report.