One thing I am missing from dnf atm is the ability to list files installed by a package, the way "repoquery --list $package" does.
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.
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...
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.
builddeps are planned, but not as a part of this bug. check out the bug 905697.
Looks like Tim has already started on this:
Let's start from merging this int plugins-core and taking it from there.
Repoquery has been added as a plugin command by 4524d56 and other patches upstream.
dnf-plugins-core-0.1.0-1.fc20 has been submitted as an update for Fedora 20.
(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.
Seems like it was not included in this build?
* 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).
dnf-plugins-core-0.1.0-2.fc20 has been submitted as an update for Fedora 20.
(In reply to Fedora Update System from comment #10)
This seems to work now, however the functionality I was looking for ("repoquery --list $package" as mentioned in the initial post) is not implemented.
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
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.