Bug 7515

Summary: Errors in rpmpopt
Product: [Retired] Red Hat Linux Reporter: andrewem
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-12-02 18:12:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description andrewem 1999-12-02 17:45:56 UTC
There are errors in /usr/lib/rpm/rpmpopt with all aliases that use the --qf
option.

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 18:12:59 UTC
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.