Bug 1356926 - Results of 'dnf repoquery --whatprovides' and 'dnf provides' don't match
Results of 'dnf repoquery --whatprovides' and 'dnf provides' don't match
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jaroslav Mracek
Fedora Extras Quality Assurance
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2016-07-15 05:48 EDT by Jaroslav Škarvada
Modified: 2016-10-04 14:06 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-29 10:57:09 EDT
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 Jaroslav Škarvada 2016-07-15 05:48:55 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):

How reproducible:

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/*'

Actual results:
1. nothing
2. nothing
3. list of packages

Expected results:
same results for 2 and 3

Additional info:
Comment 1 Honza Silhan 2016-07-18 07:22:02 EDT
We'll fix this
Comment 2 Jaroslav Mracek 2016-07-28 10:01:12 EDT
I create the pull-request: https://github.com/rpm-software-management/dnf/pull/551
Comment 3 Igor Gnatenko 2016-07-29 10:57:09 EDT
Merged as part of DNF 2.0 release.

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