报错解决——No packages in any requested group available to install or update

报错原因

  CentOS7 之后,某些安装情况下默认选项并没有被安装

 

解决方案:

  在安装命令后面手动加上

 --setopt=group_package_types=mandatory,default,optional

如:

yum groupinstall "Office Suite and Productivity" --setopt=group_package_types=mandatory,default,optional
yum groupinstall "X Window System"  --setopt=group_package_types=mandatory,default,optional

 

上一篇:Linux socket.error: [Errno 99] Cannot assign requested


下一篇:关于node中 mysql Client does not support authentication protocol requested by server; consider upgradin