RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1279483 - The yum group list ids command does not indicate that there are hidden groups
Summary: The yum group list ids command does not indicate that there are hidden groups
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: Eva Mrakova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-09 14:40 UTC by Stephen Wadeley
Modified: 2016-11-04 05:30 UTC (History)
4 users (show)

Fixed In Version: yum-3.4.3-137.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 05:30:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2397 0 normal SHIPPED_LIVE yum bug fix and enhancement update 2016-11-03 13:55:12 UTC

Description Stephen Wadeley 2015-11-09 14:40:08 UTC
Description of problem:

The command `yum group list ids` will sometimes give no output even though there are "hidden" groups.

It sees unreasonable to expect all users to know they must also search for hidden groups.

Combined with that fact that the data is inconsistent between different repos makes it hard to find groups.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

Test commands on both a Server and a Workstation to see the differences.

1.  ~]# yum group list ids kde\*
2. ~]# yum group info KDE
3.

Actual results:
Testing on a 7.1 server;
Nothing here:

[root@localhost ~]# yum group list ids kde\*
Loaded plugins: product-id, subscription-manager
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Warning: no environments/groups match: ids, kde*

But this works:

[root@localhost ~]# yum group info KDE
Loaded plugins: product-id, subscription-manager

Group: KDE
 Group-Id: kde-desktop

{and works with lower case kde too}

But does not mention @kde
[root@localhost ~]# yum grouplist
Loaded plugins: product-id, subscription-manager
Available environment groups:
   Minimal Install
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
   Server with GUI
Installed groups:
   Security Tools
   System Administration Tools
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   RT
   SAP
   Scientific Support
   System Management
Done

#Testing on same 7.1 server VM:

[root@localhost ~]# rpm -q yum
yum-3.4.3-124.el7.noarch

[root@localhost ~]# yum group list ids kde\*
Loaded plugins: product-id, subscription-manager
Warning: no environments/groups match: ids, kde*

[root@localhost ~]# yum group list hidden ids | grep -i kde
   KDE (kde-desktop)

[root@localhost ~]# yum group list hidden ids kde\*
Loaded plugins: product-id, subscription-manager
Available Groups:
   KDE (kde-desktop)
Done

These work on the server:
yum group install KDE
yum install @KDE
yum install @kde-desktop



Expected results:

If possible, if yum did not show any groups then show hidden groups. If not possible, print note to say there might be hidden groups and explain how to check for them.

Comment 12 errata-xmlrpc 2016-11-04 05:30:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2397.html


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