首页 新闻 会员 周边 捐助

yum grouplist报错

0
悬赏园豆:20 [已关闭问题] 关闭于 2016-09-10 11:38

系统版本:RHEL7.2

本地Yum源相关配置如下:

[root@rhel7 yum.repos.d]# pwd
/etc/yum.repos.d
[root@rhel7 yum.repos.d]# ls
local_repo.repo  redhat.repo  redhat.repo_bak
[root@rhel7 yum.repos.d]# cat local_repo.repo 
[rhel-source]
name=local-repo
baseurl=file:///opt/rpm/local_repo       
enabled=1                               
gpgcheck=0

使用yum命令安装软件包也正常:

[root@rhel7 yum.repos.d]# yum install ftp 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ftp.x86_64 0:0.17-66.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
……(略)

问题:执行yum grouplist和yum groupinstall时报错

[root@rhel7 yum.repos.d]# yum grouplist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There is no installed groups file.  
Maybe run: yum groups mark convert (see man yum)
Warning: no environments/groups match: 
[root@rhel7 yum.repos.d]# yum groupinstall 'X Window System' 'GNOME'
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Warning: group X Window System does not exist.
Warning: group GNOME does not exist.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
[root@rhel7 yum.repos.d]# 

这个问题之前在其它版本的系统上也遇到过;本次在RHEL7系统测试时也遇到同样的问题,网上查了很多资料也没找到答案。

遠離塵世の方舟的主页 遠離塵世の方舟 | 菜鸟二级 | 园豆:201
提问于:2016-07-25 16:22
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册