rpm-2.90-7 can query (-q) and erase (-e) fine, but when invoked with -i or -U it returns immediately and successfully, but doesn't change anything (nothing is installed or upgraded).
fixed in rpm-2.90-8