Bug 12027 - rpm -i doesn't work, while rpm --info does
rpm -i doesn't work, while rpm --info does
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
Blocks: 12853
  Show dependency treegraph
Reported: 2000-06-09 10:22 EDT by Pekka Savola
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-06-23 17:50:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 2000-06-09 10:22:37 EDT
In rpm 4.0, rpm -i switch doesn't work properly:
/tmp/rpm -qip iptables-1.0.0-2.i386.rpm 
rpm: unexpected query source

rpm --info -qp iptables-1.0.0-2.i386.rpm works though.
Comment 1 Jeff Johnson 2000-06-09 10:29:15 EDT
Quick fix: Edit /usr/lib/rpm/rpmpopt, and comment out lines that look like

rpm     exec -q                 rpmq -q
rpm     exec --query            rpmq --query
rpm     exec --querytags        rpmq --querytags
rpm     exec -V                 rpmv -V
rpm     exec -y                 rpmv -y
rpm     exec --verify           rpmv --verify

Otherwise upgrade rpm packages, latest right now is rpm-4.0-0.33.
Comment 2 Pekka Savola 2000-06-22 11:45:08 EDT
fixed in beta2

Note You need to log in before you can comment on or make changes to this bug.