Description of problem:
Passing multiple pkgspecs to --whatrequires results in an empty list in the output.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
$ dnf repoquery --whatrequires dnf libdnf
A lot of matches should be printed.
This is a regression from the yum-based "repoquery" tool in RHEL-7 which does accept multiple pkgspecs with --whatrequires.
Just realized --whatrequires only takes one argument by design. Still, we could at least make it an append option, so leaving it open for the time being.
I created a patch that adds support for multiple arguments or even for splitting arguments using comma. The new behavior is applicable for all --what* options of repoquery command. https://github.com/rpm-software-management/dnf/pull/1375
I also create CI-tests - https://github.com/rpm-software-management/ci-dnf-stack/pull/558
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.