Bug 1226493

Summary: [RFE] please provide "--installed" option for dnf repoquery plugin
Product: [Fedora] Fedora Reporter: Matthew Cline <matt>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-24 09:15:24 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:

Description Matthew Cline 2015-05-30 00:47:30 UTC
The dnf repoquery plugin is missing the "--installed" option which the repoquery command had, which would limit the results to just the packages which the system already has installed.

Comment 1 Parag Nemade 2015-05-30 14:58:13 UTC
This is implemented from dnf-plugins-core-0.1.6-3 and it is "--installonly" in dnf's repoquery.

Comment 2 Matthew Cline 2015-05-30 16:29:55 UTC
--installonly is used to select packages which are never upgraded, but only ever installed, like kernel packages. "dnf repoquery --installonly '*'" lists the three kernel packages installed on my computer, for instance.  Replacing "*" with any other installed package lists nothing, since those packages aren't install only.

Comment 3 Honza Silhan 2015-07-24 09:15:24 UTC

*** This bug has been marked as a duplicate of bug 1199601 ***