Red Hat Bugzilla – Bug 1356926
Results of 'dnf repoquery --whatprovides' and 'dnf provides' don't match
Last modified: 2016-10-04 14:06:44 EDT
Description of problem:
'dnf repoquery --whatprovides' and 'dnf provides' give different results, moreover the 'dnf provides' seems to take much longer time to complete, so it's probably doing different query. IIRC both yum commands worked the same.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dnf repoquery --whatprovides '/usr/share/icons/hicolor/256x256/apps'
2. dnf repoquery --whatprovides '/usr/share/icons/hicolor/256x256/apps/*'
3. dnf provides '/usr/share/icons/hicolor/256x256/apps/*'
3. list of packages
same results for 2 and 3
We'll fix this
I create the pull-request: https://github.com/rpm-software-management/dnf/pull/551
Merged as part of DNF 2.0 release.