Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 7515 - Errors in rpmpopt
Summary: Errors in rpmpopt
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-02 17:45 UTC by andrewem
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-12-02 18:12:05 UTC

Attachments (Terms of Use)

Description andrewem 1999-12-02 17:45:56 UTC
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 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.

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