免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2946 | 回复: 6
打印 上一主题 下一主题

[系统管理] http server yum客户端无法使用yum groups list [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-05-28 14:07 |只看该作者 |倒序浏览
[root@desktop media]# yum clean all
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Cleaning repos: server.com_rhel7x64
Cleaning up everything
[root@desktop media]# yum makecache
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
server.com_rhel7x64                                                                                                                                      | 2.9 kB  00:00:00     
(1/3): server.com_rhel7x64/filelists_db                                                                                                                  | 3.0 MB  00:00:00     
(2/3): server.com_rhel7x64/primary_db                                                                                                                    | 3.4 MB  00:00:00     
(3/3): server.com_rhel7x64/other_db                                                                                                                      | 1.2 MB  00:00:00     
Metadata Cache Created
[root@desktop media]# yum groups list
Loaded plugins: product-id, 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@desktop media]#

论坛徽章:
0
2 [报告]
发表于 2016-05-28 14:12 |只看该作者

不然粘贴脚本只能用这种方式了!

rhel7.0 x64环境

论坛徽章:
0
3 [报告]
发表于 2016-05-28 14:14 |只看该作者
其他都好用就是yum groups list或者yum groups install不要用,在网上找了很久,也没有办法,,谢谢大家啦!
Warning: no environments/groups match:

求职 : Linux运维
论坛徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之约旦
日期:2015-04-05 20:08:292015年亚洲杯之澳大利亚
日期:2015-04-09 09:25:552015年亚洲杯之约旦
日期:2015-04-10 17:34:102015年亚洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亚洲杯之日本
日期:2015-04-16 16:28:552015年亚洲杯纪念徽章
日期:2015-04-27 23:29:17操作系统版块每日发帖之星
日期:2015-06-06 22:20:00操作系统版块每日发帖之星
日期:2015-06-09 22:20:00
4 [报告]
发表于 2016-05-29 17:48 |只看该作者
yum groups list或者yum groups install用不了?

论坛徽章:
41
操作系统版块每日发帖之星
日期:2016-08-21 06:20:00每日论坛发贴之星
日期:2016-05-05 06:20:00操作系统版块每日发帖之星
日期:2016-05-05 06:20:00IT运维版块每日发帖之星
日期:2016-05-05 06:20:0015-16赛季CBA联赛之山西
日期:2016-04-27 08:49:00操作系统版块每日发帖之星
日期:2016-04-25 06:20:00操作系统版块每日发帖之星
日期:2016-04-17 06:23:2815-16赛季CBA联赛之吉林
日期:2016-03-25 15:46:3415-16赛季CBA联赛之四川
日期:2016-03-25 14:26:19操作系统版块每日发帖之星
日期:2016-05-27 06:20:00操作系统版块每日发帖之星
日期:2016-05-28 06:20:00IT运维版块每日发帖之星
日期:2016-08-18 06:20:00
5 [报告]
发表于 2016-05-30 09:15 |只看该作者
[root@nagios ~]# yum grouplist
Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile
* epel: mirrors.aliyun.com
base                                                                                                         | 3.7 kB     00:00     

论坛徽章:
0
6 [报告]
发表于 2016-06-02 21:45 |只看该作者
回复 3# lirongwei

对的就是提示这个,yum源的搭建配置就在上面,客户端使用yum groups list就是显示这些
[root@system2 ~]# yum groups list
Loaded plugins: product-id, 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@system2 ~]#

   

论坛徽章:
0
7 [报告]
发表于 2016-06-02 21:50 |只看该作者
回复 4# lyhabc


    不知道那里搞错!晕!使用光盘直接挂载的方式时好用的,例如
编辑一个/etc/yum.repos.d/local.repo
[local]
name=local
baseurl=file:///mnt
enabled=1

就是使用http方式搭建的yum源有问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP