您的位置:首页 > 运维架构 > Linux

关于CentOS/RHEL 7.x的yum组安装错误的解决方案

2017-10-30 15:20 323 查看
今天使用CentOS 7的组安装,结果发现提示错误,
yum groupinstall "System Administration Tools"
详细信息如下:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Warning: Group system-admin-tools 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
经过一番谷歌,结果发现红帽的官方说7中的yum已经发生变化,需要使用特定选项来安装,具体命令如下:
yum groupinstall "System Administration Tools" --setopt=group_package_types=mandatory,default,optional
原文解决方案地址:
https://access.redhat.com/solutions/1310043
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  yum groupinstall
相关文章推荐