Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1283432 - dnf group list --installed / --available
Summary: dnf group list --installed / --available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-18 23:29 UTC by Josh Chase
Modified: 2018-02-21 22:23 UTC (History)
8 users (show)

Fixed In Version: dnf-1.1.7-2.fc23 dnf-1.1.7-2.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-26 17:58:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Josh Chase 2015-11-18 23:29:39 UTC
Description of problem:

There's no clear way to list the installed dnf package groups. "dnf group list" does have an "Installed Groups" heading that includes a list of groups, but there doesn't seem to be a way to get *only* those groups for maximum greppability. Also, "dnf group info <group>" only reports the packages in the group, and not whether the group is installed or not, and leaving the group argument off seems to return the help for "dnf info", which is misleading.

The only way that I could find to get whether or not a single group is installed was to do "dnf group list <group> | grep Installed", which seems a bit backwards and undocumented.

An additional argument to "dnf group list" similar to the argument to "dnf list" would be the most logical approach and is the first thing most people will try since "dnf list installed | grep <package>" or "dnf list installed <package>" is so common.

Comment 1 Honza Silhan 2015-11-23 12:44:11 UTC
we can extend "dnf group list" for "--installed/--available" arguments.

Comment 2 Abhijeet Kasurde 2016-02-23 11:27:27 UTC
We can close this bugzilla as PR is merged - https://github.com/rpm-software-management/dnf/pull/438

Comment 3 Fedora Update System 2016-02-25 13:53:23 UTC
dnf-plugins-core-0.1.17-1.fc23 dnf-1.1.7-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0123ce82c1

Comment 4 Fedora Update System 2016-02-25 13:56:20 UTC
dnf-plugins-core-0.1.17-1.fc22 dnf-1.1.7-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f673381075

Comment 5 Fedora Update System 2016-03-09 17:19:44 UTC
dnf-1.1.7-2.fc23 dnf-plugins-core-0.1.17-1.fc23 libsolv-0.6.19-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0123ce82c1

Comment 6 Fedora Update System 2016-03-09 17:21:32 UTC
dnf-1.1.7-2.fc22 dnf-plugins-core-0.1.17-1.fc22 libsolv-0.6.19-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f673381075

Comment 7 Fedora Update System 2016-03-10 16:52:57 UTC
dnf-1.1.7-2.fc22, dnf-plugins-core-0.1.17-1.fc22, libsolv-0.6.19-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f673381075

Comment 8 Fedora Update System 2016-03-10 16:54:31 UTC
dnf-1.1.7-2.fc23, dnf-plugins-core-0.1.17-1.fc23, libsolv-0.6.19-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0123ce82c1

Comment 9 Fedora Update System 2016-03-13 23:54:57 UTC
dnf-1.1.7-2.fc23, dnf-plugins-core-0.1.17-1.fc23, libsolv-0.6.19-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-03-19 12:16:03 UTC
dnf-1.1.7-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c030d24231

Comment 11 Fedora Update System 2016-03-20 03:57:53 UTC
dnf-1.1.7-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c030d24231

Comment 12 Fedora Update System 2016-03-26 17:57:44 UTC
dnf-1.1.7-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 aaraodeo 2017-04-25 17:53:11 UTC
[root@fedsrv ~]# dnf -v group list --installed
cachedir: /var/cache/dnf
Loaded plugins: system-upgrade, reposync, noroot, protected_packages, config-manager, playground, Query, download, debuginfo-install, builddep, needs-restarting, copr, generate_completion_cache
DNF version: 1.1.10
repo: using cache for: updates
repo: using cache for: fedora
not found updateinfo for: Fedora 25 - x86_64
updates: using metadata from Tue Apr 25 07:09:14 2017.
fedora: using metadata from Wed Nov 16 01:19:18 2016.
Last metadata expiration check: 2:58:51 ago on Tue Apr 25 20:22:47 2017.
Warning: No groups match:
   --installed
[root@fedsrv ~]#

Its not fixed yet.

Comment 14 John Hein 2018-02-21 22:23:09 UTC
(In reply to aaraodeo from comment #13)
> [root@fedsrv ~]# dnf -v group list --installed
 .
 .
> Warning: No groups match:
>    --installed
> [root@fedsrv ~]#
> 
> Its not fixed yet.

It is in Fedora 26 and later.


Note You need to log in before you can comment on or make changes to this bug.