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): yum-utils-1.1.6-1.fc7 How reproducible: always 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 ocaml-camlp4-devel. Additional info: 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.