Bug 253383 - repoquery: --provides does not work with -f
repoquery: --provides does not work with -f
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-08-18 12:44 EDT by Till Maas
Modified: 2008-03-13 09:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-13 09:48:47 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 Till Maas 2007-08-18 12:44:18 EDT
Description of problem:
When I query for a package with "-f" (query for a package that contains a file)
and what to know its provides, this requires two invocations of repoquery.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. repoquery --repoid=development --provides -f  /usr/bin/camlp4o
2. repoquery --repoid=development --provides  ocaml-camlp4-devel
Actual results:
The two results differ.

Expected results:
Both queries should show the same results, because the first query only matches

Additional info:
It seems that this affects also --requires.
Comment 1 Panu Matilainen 2007-08-20 02:21:32 EDT
This is expected behavior: -f is really just an alias for --whatprovides,
--provides and --whatprovides on the same command line doesn't make much sense,
repoquery is just (too) permissive wrt cli-switch combinations.

Would be nice to do better though, but it'll require fair bit of reworking how
the way commandline is handled... I'll see what I can do about it.
Comment 2 Seth Vidal 2008-03-13 09:48:47 EDT
Panu, unless you'd rather leave it open I'm going to close this deferred.

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