YUM groups/groupinstall will not install groups - RHEL 7

Latest response

I'm having trouble installing groups with YUM. I would like to install the "Development tools" group. But I have noticed I cannot install any group. I did search and found reference to Fedora's YUM needing a bug fix and this work around:
$ sudo yum-config-manager --save --setopt=group_command=compat"

...But still cannot install groups:

$ sudo yum group install "Development tools"
Loaded plugins: langpacks, product-id, subscription-manager
epel/x86_64/metalink | 14 kB 00:00
rhel-7-workstation-extras-rpms | 2.5 kB 00:00
rhel-7-workstation-optional-rpms | 2.9 kB 00:00
rhel-7-workstation-rpms | 3.7 kB 00:00
rpmforge | 1.9 kB 00:00
Warning: Group development does not have any packages to install.
No packages in any requested group available to install or update

$ sudo yum grouplist | grep Development
Development and Creative Workstation
Development tools

$ sudo yum group install "Development tools"
Loaded plugins: langpacks, product-id, subscription-manager
Warning: Group development does not have any packages to install.
No packages in any requested group available to install or update

$ sudo yum groups install "Development tools"
Loaded plugins: langpacks, product-id, subscription-manager
Warning: Group development does not have any packages to install.
No packages in any requested group available to install or update

$ sudo yum groupinstall "Development tools"
Loaded plugins: langpacks, product-id, subscription-manager
Warning: Group development does not have any packages to install.
No packages in any requested group available to install or update

$ sudo yum repolist
Loaded plugins: langpacks, product-id, subscription-manager
repo id repo name status
epel/x86_64 Extra Packages for E 6,388
rhel-7-workstation-extras-rpms/x86_64 Red Hat Enterprise L 0
rhel-7-workstation-optional-rpms/7Workstation/x86_64 Red Hat Enterprise L 4,280
rhel-7-workstation-rpms/7Workstation/x86_64 Red Hat Enterprise L 5,314
rpmforge RHEL 7Workstation - 245

$ rpm -qa | grep -i rhn
rhn-setup-2.0.2-5.el7.noarch
rhnlib-2.5.65-2.el7.noarch
yum-rhn-plugin-2.0.1-4.el7.noarch
rhnsd-5.0.13-3.el7.x86_64
rhn-check-2.0.2-5.el7.noarch
rhn-setup-gnome-2.0.2-5.el7.noarch
rhn-client-tools-2.0.2-5.el7.noarch

$ rpm -qa | grep -i yum
yum-metadata-parser-1.1.4-10.el7.x86_64
yum-rhn-plugin-2.0.1-4.el7.noarch
PackageKit-yum-0.8.9-11.el7.x86_64
yum-3.4.3-118.el7.noarch
yum-langpacks-0.4.2-3.el7.noarch
yum-utils-1.1.31-25.el7_0.noarch

$ sudo yum upgrade yum
Loaded plugins: langpacks, product-id, subscription-manager
No packages marked for update

$ uname -a
Linux xxxx.xxxxx.xxxxx.com 3.10.0-123.9.2.el7.x86_64 #1 SMP Wed Sep 24 14:20:59 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Would someone point me to the right direction to solve this?

Thank you!

/MM

Responses

What do you see with:

yum groupinfo -v "Development Tools"

I found the work around , try this :
[root@localhost rpmbuild]# yum groups mark install "Development Tools"

[root@localhost rpmbuild]# yum groups mark convert "Development Tools"

[root@localhost rpmbuild]# yum groupinstall "Development Tools"

And in 7.2, the workaround is illegal:

yum groups mark install "Development Tools"

Loaded plugins: langpacks, product-id, subscription-manager
Invalid groups sub-command, use: info, upgrade, list, remove, summary, install.

uname -a

Linux localhost.localdomain 3.10.0-229.7.2.el7.x86_64 #1 SMP Fri May 15 21:38:46 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

So: what's the workaround for the workaround for the bug?

This syntax worked for me, YMMV:

yum group install "Graphical Administration Tools" --setopt=group_package_types=mandatory,default,optional

Interesting! I tried

sudo yum group install "Development Tools" --setopt=group_package_types=mandatory,default,optional

and its started off normally, then dies with a cascade of

Package: ghc-old-locale-1.0.0.2-45.3.el5.x86_64 (epel)
Requires: libgmp.so.3()(64bit)
Error: Package: ghc-process-1.0.1.5-45.3.el5.x86_64 (epel)
Requires: libgmp.so.3()(64bit)

Adding --skip-broken got it to install about a third of the list and reject the request.

--dave
[Sigh: I bought RH because it's supposedly better-supported than Fedora, which I use for my personal machine. Apparently that's not quite the case (;-)]

Guys,

I have the same problem, any light on how to resolve this. My install went clean, but Iam unable to get past this problem which is kind of blocking my development.

Raghav

I had this problem also, but what happened with me is that I installed the epel repository first, and then tried to install Development Tools. I had tried so many things and wasn't sure what the problem was, so I completely reinstalled Red Hat 7.2, re-subscribed it and then installed Development Tools (without installing epel first) and it worked for me. I hope this helps some one.

Michael Kelley's Syntax worked for me on RHEL 7.1 Thanks

Michael Kelly's Syntax does NOT work on ours (RHEL 7.5)

I get: There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Marked install: Server with GUI

The option suggested by "markjgross" should work perfect to install all packages in any group. Otherwise you may append "group_package_types=mandatory,default,optional" to the file "/etc/yum.conf" file if necessary to install all files in any group by running 'yum groupinstall '. You may prefer to remove this later, as this would always push every packages in a group to be installed which may not be required at times.

This may seem a joke but it is not, I had the same problem and the solution made me laugh, I use the default Spanish language and when I used the grouplist command, develpment tools was already installed but the name appeared in Spanish, I do not think That is the solution but if someone wants to try it, do it.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.