Bug 1403930 - dnf repoquery -f with multiple files doesn't seem to work
dnf repoquery -f with multiple files doesn't seem to work
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
medium Severity unspecified
: ---
: ---
Assigned To: rpm-software-management
Fedora Extras Quality Assurance
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2016-12-12 11:15 EST by Zbigniew Jędrzejewski-Szmek
Modified: 2017-02-10 11:03 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-02-10 11:03:03 EST
Type: Bug
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 Zbigniew Jędrzejewski-Szmek 2016-12-12 11:15:39 EST
Description of problem:
When querying multiple files (for example to check if any file in a list of files conflicts with a different package), dnf repoquery doesn't seem to provide a way to query multiple files at once. Doing it one-by-one is obviously rather slow.

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

Actual results:
$ dnf repoquery -f /usr/bin/test /usr/bin/convert

Expected results:
$ dnf repoquery -f /usr/bin/test /usr/bin/convert
Comment 1 Honza Silhan 2016-12-19 07:19:57 EST
FTR yum repoquery behaves as expected result in this report. We should fix it in DNF repoquery. For now you can use "dnf repoquery -f /usr/bin/test -f /usr/bin/convert" work around.
Comment 2 Jaroslav Mracek 2016-12-20 09:50:11 EST
Created a pull-request that should solve the issue: https://github.com/rpm-software-management/dnf/pull/692
Comment 3 Jaroslav Mracek 2017-02-10 11:03:03 EST
Bug fixed in version of dnf-2.0.1-1.

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