[root@localhost yum.repos.d]# yum groupinstall -y "Desktop"
Failed to set locale,defaulting to C
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.cloud.aliyuncs.com
* epel: mirrors.cloud.aliyuncs.com
* extras: mirrors.cloud.aliyuncs.com
* updates: mirrors.cloud.aliyuncs.com
Warning: Group basic-desktop 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 clean all
然后继续安装就可以了