Bug 1196952
| Summary: | dnf repoquery does not provide -f like yum-utils | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
| Component: | dnf-plugins-core | Assignee: | Parag Nemade <pnemade> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jsilhan, jzeleny, lnie, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vondruch |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-core-0.1.6-3.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-21 19:26:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 support --qf. *** 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. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.6-3.fc22 dnf-plugins-core-0.1.6-3.fc22 works 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). 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. |
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): dnf-0.6.4-1.fc21 How reproducible: 100% Steps to Reproduce: 1. dnf repoquery -f /usr/lib64/libsyck.so Actual results: 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] [key] Expected results: syck-devel Additional info: I find "repoquery -f" extremely useful for linking files to packages, I do hope it could be implemented soon in dnf-plugins-core.