關於CentOS/RHEL 7.x的yum組安裝錯誤的解決方案

今天使用CentOS 7的組安裝,結果發現提示錯誤,bash

yum groupinstall "System Administration Tools"

詳細信息以下:ide

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已經發生變化,須要使用特定選項來安裝,具體命令以下:get

yum groupinstall "System Administration Tools" --setopt=group_package_types=mandatory,default,optional

原文解決方案地址:it

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

相關文章
相關標籤/搜索