Bug 7515 - Errors in rpmpopt
Errors in rpmpopt
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 1999-12-02 12:45 EST by andrewem
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: 1999-12-02 13:12:05 EST
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 andrewem 1999-12-02 12:45:56 EST
There are errors in /usr/lib/rpm/rpmpopt with all aliases that use the --qf

The --qf option can only be used when the -q option is also specified,
otherwise you get an "rpm: unexpected query format" message.

Simply adding -q to the aliases fixes the problem.
Comment 1 Jeff Johnson 1999-12-02 13:12:59 EST
It's too late to change this behavior, you will need to specify -q on the
command line when using the popt alias. Or, if you really want the change,
make enough noise on rpm-list to achieve consensus on the Right Thing To Do.

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