Posted at

CentOS7 で yum groupinstall が出来ないんですけど。。。

More than 1 year has passed since last update.

CentOS7で、yumが変更されたとかで、groupinstall でエラーでハマりました。

# yum -y groupinstall base "Development tools"

Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* epel: ftp.jaist.ac.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
Warning: Group base does not have any packages to install.
Group base does have 1 conditional packages, which may get installed.
Warning: Group development does not have any packages to install.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update

次のようにすると良いらしい。

yum -y groupinstall base "Development tools" --setopt=group_package_types=mandatory,default,optional

参照したのはこちら。

https://access.redhat.com/solutions/1310043