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 586831 - yum groupinstall does not add required groups
Summary: yum groupinstall does not add required groups
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-28 12:56 UTC by Matthias Schroder
Modified: 2014-01-21 06:17 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-28 14:57:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matthias Schroder 2010-04-28 12:56:36 UTC
Description of problem: When doing a 'yum groupinstall Desktop' the required groups (e.g. 'X Windows' or 'Fonts' are not installed. The installed packages are thus incomplete, and the 'Desktop' not functional.


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


How reproducible: 100%


Steps to Reproduce:
1. install machine with Base only
2. yum groupinstall Desktop
3.
  
Actual results: installed packages not sufficient for functional Desktop (no X, no fonts,...)


Expected results: all packages and groups needed for a functional desktop are installed


Additional info: I see the Desktop category in the comps.xml file, but it seems as if yum does ignore it?

Comment 2 James Antill 2010-04-28 14:06:00 UTC
What are "required groups", and how would yum groupinstall know they are required?

Comment 3 Matthias Schroder 2010-04-28 14:27:16 UTC
As 'required' groups I would consider the groups that are listed with 'groupid' in the 'category' of a group. Sorry for the bad phrasing, probably a leftover from early comps.xml days where groups had required packages (<packagereq type="...) and required groups '<groupreq>...'. I see no groupreq at all in the RHEL6beta comps.xml, but there are the categories. Are the categories only used by anaconda?

Comment 4 RHEL Program Management 2010-04-28 14:29:03 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 5 James Antill 2010-04-28 14:57:42 UTC
Yes, groupinstall/etc. operates on groups.

I once did a category plugin: http://james.fedorapeople.org/yum/plugins/categories.py

...but it didn't seem like a good idea to have people using that (categories are too heavy weight, in general, to be useful) so it isn't packaged.

Comment 6 Matthias Schroder 2010-04-28 15:15:57 UTC
Why are categories too heavy? I find the idea to have properly defined groups or categories extremely useful. Having groups that do not pull in the required packages or groups are rather useless. What would be the point of (group-)installing 'Desktop', when that does not pull in the 'X Windows' and 'Fonts'?


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