Bug 1045078 - [rfe] repoquery
Summary: [rfe] repoquery
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 20
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-12-19 14:57 UTC by Michael Monreal
Modified: 2014-09-30 23:41 UTC (History)
8 users (show)

Fixed In Version: dnf-plugins-core-0.1.0-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-06-17 23:26:48 UTC
Type: Bug

Attachments (Terms of Use)

Description Michael Monreal 2013-12-19 14:57:59 UTC
One thing I am missing from dnf atm is the ability to list files installed by a package, the way "repoquery --list $package" does.

Comment 1 Ales Kozumplik 2013-12-20 07:07:43 UTC
Hello, thanks for the report. Since we haven't yet started to provide repoquery at all yet I'll change this bug to general repoquery RFE.

Comment 2 Panu Matilainen 2013-12-20 11:15:24 UTC
Might be a good chance to sanitize things as well by having dnf/hawkey provide some of the things repoquery needs to avoid having to wrap every single package object within another one within repoquery. Doesn't matter when you're querying a handful of packages, but for queries of thousands of packages its slow and causes memory-use to blow through the roof :) I dont remember the details offhand though, been a while I've looked at repoquery...

Comment 3 Michael Monreal 2013-12-20 13:07:45 UTC
I don't know what exactly is planned here, will this also include the ability to list buildrequires for a package such as possible with "yum-builddep"? That would be the final thing I currently miss in dnf.

Comment 4 Ales Kozumplik 2013-12-20 14:37:23 UTC
builddeps are planned, but not as a part of this bug. check out the bug 905697.

Comment 5 Ales Kozumplik 2014-05-15 08:53:41 UTC
Looks like Tim has already started on this:


Let's start from merging this int plugins-core and taking it from there.

Comment 6 Ales Kozumplik 2014-05-29 14:54:35 UTC
Repoquery has been added as a plugin command by 4524d56 and other patches upstream.

Comment 7 Fedora Update System 2014-06-04 13:19:09 UTC
dnf-plugins-core-0.1.0-1.fc20 has been submitted as an update for Fedora 20.

Comment 8 Michael Monreal 2014-06-04 18:31:46 UTC
(In reply to Fedora Update System from comment #7)
> dnf-plugins-core-0.1.0-1.fc20 has been submitted as an update for Fedora 20.
> https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.0-1.fc20

Seems like it was not included in this build?

Comment 9 Fedora Update System 2014-06-05 04:21:26 UTC
Package dnf-plugins-core-0.1.0-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.0-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-06-05 07:16:44 UTC
dnf-plugins-core-0.1.0-2.fc20 has been submitted as an update for Fedora 20.

Comment 11 Michael Monreal 2014-06-05 16:27:00 UTC
(In reply to Fedora Update System from comment #10)
> dnf-plugins-core-0.1.0-2.fc20 

This seems to work now, however the functionality I was looking for ("repoquery --list $package" as mentioned in the initial post) is not implemented.

Comment 12 Petr Spacek 2014-06-17 14:35:56 UTC
I think that DNF is a good chance to make "rpm -q" and "repoquery" compatible.

It would be nice to use the same exit codes as RPM.
$ rpm -q --whatprovides blahblah
returns 1 instead of 0

Comment 13 Fedora Update System 2014-06-17 23:26:48 UTC
dnf-plugins-core-0.1.0-2.fc20 has been pushed to the Fedora 20 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.