CentOS7安装开发工具套件时报错解决
操作系统:CentOS 7.2
执行安装命令时显示以下信息:
[root@DEV-CMDB-DB02 ~]# yum -y groupinstall “Development Tools”
已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
没有安装组信息文件
Maybe run: yum groups mark convert (see man yum)
警告:分组 development 不包含任何可安装软件包。
Maybe run: yum groups mark install (see man yum)
执行报错提示的命令就行
yum groups mark convert
yum groups mark install
然后在运行之前的那个命令
yum -y groupinstall "Development Tools"
然后就可以啦
上面还有一部分效果我没截图出来,大概就是这样的效果了