yum groupinstall报错,处理方法

http://www.cnblogs.com/xiaoluo501395377/archive/2013/05/21/3089970.html

=====

创建repo库

 # createrepo -g /yum_repo/rhel7.2/repodata/81c149ffb2267c59a3e6405766b5ff3dc78e0637033e9f5aef564538359ff281-comps-Server.x86_64.xml /yum_repo/rhel7.2/Packages/

使用-g参数指定分组文件:-g GROUPFILE, --groupfile=GROUPFILE 如果不加该参数,yum group list...不可用;分组文件在iso镜像文件里的repodata目录下,一般是这种格式:xxx-comps-xxx.xml

             -d, --database create sqlite database files: now default, see --no-database to disable

所以要使用该命令来创建repo数据库:createrepo -g /../xxxxx-comps-Server.x86_64.xml  /opt/rpm/local_repo   //-d参数可以不要

http://www.cnblogs.com/rusking/p/4248946.html

原文地址:https://www.cnblogs.com/rusking/p/5953701.html