Description of problem:
yum-utils repoquery can search for files with -f
eg $ repoquery -f /usr/lib64/libsyck.so
but it seems dnf repoquery does not support this yet?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dnf repoquery -f /usr/lib64/libsyck.so
Using metadata from Fri Feb 27 14:41:00 2015
usage: dnf repoquery [--help-cmd] [--repoid REPO] [--arch ARCH]
[--whatprovides REQ] [--whatrequires REQ] [--querytags]
[-i | -l | --qf QUERYFORMAT | --conflicts | --enhances | --obsoletes | --provides | --recommends | --requires | --suggests | --supplements]
I find "repoquery -f" extremely useful for linking files to packages,
I do hope it could be implemented soon in dnf-plugins-core.
Okay "dnf provides" seems to do what I want (if slightly verbosely).
(In reply to Jens Petersen from comment #1)
> Okay "dnf provides" seems to do what I want (if slightly verbosely).
Well more precisely:
dnf provides /usr/lib64/libsyck.so
tell me which package NVR has the file but of course dnf provides does not
*** This bug has been marked as a duplicate of bug 1190991 ***
*** Bug 1197054 has been marked as a duplicate of this bug. ***
*** Bug 1190991 has been marked as a duplicate of this bug. ***
dnf-plugins-core-0.1.6-3.fc22 has been submitted as an update for Fedora 22.
* 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:
then log in and leave karma (feedback).
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.