Closed Ferlinuxdebian closed 22 hours ago
DNF5 does implement the feature but it was renamed.
Instead of dnf4 repoquery --requires gimp --resolv
you can do dnf5 repoquery --providers-of=requires gimp
You can find these changes described in the changes doc: https://dnf5.readthedocs.io/en/latest/changes_from_dnf4.7.html#changes-to-individual-commands in the repoquery
section.
DNF4 has an option in the
repoquery
subcommand that can convert the output of file dependencies to packages using the--resolve
parameter. For example:In the output above, you can see that the dependencies for GIMP appear as a list of file names, which is not very useful. However, by using the
--resolve
parameter, this list of files is converted into package names:The point I want to make is that DNF5 does not implement this feature. For example, when installing telegram-desktop on Fedora 41, I see an error output with a list of files instead of package names, which is not useful.