博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
关于CentOS/RHEL 7.x的yum组安装错误的解决方案
阅读量:7165 次
发布时间:2019-06-29

本文共 696 字,大约阅读时间需要 2 分钟。

今天使用CentOS 7的组安装,结果发现提示错误,

1
yum groupinstall 
"System Administration Tools"

详细信息如下:

1
2
3
4
5
6
7
8
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已经发生变化,需要使用特定选项来安装,具体命令如下:

1
yum groupinstall 
"System Administration Tools" 
--setopt=group_package_types=mandatory,default,optional
本文转自 tanzhenchao 51CTO博客,原文链接:http://blog.51cto.com/cmdschool/1977416,如需转载请自行联系原作者
你可能感兴趣的文章