Bug 1179366 - repoquery --whatprovides does not accept wildchars as *
Summary: repoquery --whatprovides does not accept wildchars as *
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-06 15:49 UTC by Honza Horak
Modified: 2015-04-21 19:26 UTC (History)
7 users (show)

Fixed In Version: dnf-plugins-core-0.1.6-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-21 19:26:17 UTC
Type: Bug


Attachments (Terms of Use)

Description Honza Horak 2015-01-06 15:49:05 UTC
Description of problem:
repoquery is also used for searching for a package that ships a file in an unknown path. For example when searching an executable `rpmbuild` I use it like this:
$> repoquery --whatrequires '*/bin/rpmbuild'

That worked nice in yum, but with dnf it does not work any more:
$> dnf repoquery --whatrequires '*/bin/rpmbuild'

which does not return anything.


Version-Release number of selected component (if applicable):
# rpm -q dnf-plugins-core dnf
dnf-plugins-core-0.1.4-1.fc21.noarch
dnf-0.6.3-2.fc21.noarch


How reproducible:
every-time

Steps to Reproduce:
1. dnf repoquery --whatrequires '*/bin/rpmbuild'

Actual results:
nothing

Expected results:
rpm-build-0:4.12.0.1-3.fc21.x86_64

Comment 1 Honza Silhan 2015-01-15 15:12:13 UTC
Thanks for the report. There's already PR for this feature [1].

[1] https://github.com/rpm-software-management/dnf-plugins-core/pull/47

Comment 2 Fedora Update System 2015-04-09 14:41:12 UTC
dnf-plugins-core-0.1.6-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.6-3.fc22

Comment 3 Fedora Update System 2015-04-10 18:21:39 UTC
Package dnf-plugins-core-0.1.6-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.6-3.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5951/dnf-plugins-core-0.1.6-3.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-04-21 19:26:17 UTC
dnf-plugins-core-0.1.6-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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