Red Hat Bugzilla – Bug 253383
repoquery: --provides does not work with -f
Last modified: 2008-03-13 09:48:47 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):
Steps to Reproduce:
1. repoquery --repoid=development --provides -f /usr/bin/camlp4o
2. repoquery --repoid=development --provides ocaml-camlp4-devel
The two results differ.
Both queries should show the same results, because the first query only matches
It seems that this affects also --requires.
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.
Panu, unless you'd rather leave it open I'm going to close this deferred.