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): dnf-2.0.0-0.rc2.3.fc26.noarch Actual results: $ dnf repoquery -f /usr/bin/test /usr/bin/convert (nada) Expected results: $ dnf repoquery -f /usr/bin/test /usr/bin/convert coreutils-... ImageMagick-...
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.
Created a pull-request that should solve the issue: https://github.com/rpm-software-management/dnf/pull/692
Bug fixed in version of dnf-2.0.1-1.