免费注册 查看新帖 |

Chinaunix

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

redhat 6 搭建yum后 使用yum grouplist 命令看不到组包信息 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-03-21 14:35 |只看该作者 |倒序浏览
redhat 6 搭建yum后 使用yum grouplist 命令看不到组包信息

yum源为本地

配置文件:
[root@localhost yum.repos.d]# more rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=file:///var/ftp/pub/Packages/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=file:///var/ftp/pub/Packages/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/R
PM-GPG-KEY-redhat-release



/var/ftp/pub/Packages 为安装包存放目录



安装软件可以
[root@localhost yum.repos.d]# yum install bind
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind.i686 32:9.7.3-8.P3.el6 will be installed
--> Processing Dependency: bind-libs = 32:9.7.3-8.P3.el6 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Processing Dependency: liblwres.so.60 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Processing Dependency: libisccfg.so.62 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Processing Dependency: libisccc.so.60 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Processing Dependency: libisc.so.62 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Processing Dependency: libdns.so.69 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Processing Dependency: libbind9.so.60 for package: 32:bind-9.7.3-8.P3.el6.i686
--> Running transaction check
---> Package bind-libs.i686 32:9.7.3-8.P3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
Package                             Arch                           Version                                      Repository                             Size
=============================================================================================================================================================
Installing:
bind                                i686                           32:9.7.3-8.P3.el6                            rhel-source                           3.9 M
Installing for dependencies:
bind-libs                           i686                           32:9.7.3-8.P3.el6                            rhel-source                           849 k

Transaction Summary
=============================================================================================================================================================
Install       2 Package(s)

Total download size: 4.7 M
Installed size: 9.2 M
Is this ok [y/N]: y
Downloading Packages:
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                         42 MB/s | 4.7 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : 32:bind-libs-9.7.3-8.P3.el6.i686                                                                                                          1/2
  Installing : 32:bind-9.7.3-8.P3.el6.i686                                                                                                               2/2
Installed products updated.

Installed:
  bind.i686 32:9.7.3-8.P3.el6                                                                                                                                

Dependency Installed:
  bind-libs.i686 32:9.7.3-8.P3.el6                                                                                                                           

Complete!



但是 查看组包信息就是不行
[root@localhost yum.repos.d]# yum grouplist
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Done


删除  /var/ftp/pub下的repodata目录 并重新执行  

createrepo /mnt/repodata/8b9d3760efbb81b0e5db8a1f368bc5491eaa0a63014a1aba05c2a113a8545e24-comps-rhel6-Server.xml  /var/ftp/pub/



清除yum缓存后  结果如下,还是看不到组包信息

[root@localhost pub]# yum grouplist
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
rhel-source                                                                                                                           | 1.9 kB     00:00 ...
rhel-source/primary                                                                                                                   | 1.3 MB     00:00 ...
rhel-source-beta                                                                                                                      | 1.9 kB     00:00 ...
rhel-source-beta/primary                                                                                                              | 1.3 MB     00:00 ...
rhel-source/group_gz                                                                                                                  | 1.2 kB     00:00 ...
rhel-source-beta/group_gz                                                                                                             | 1.2 kB     00:00 ...
Done


求高人指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP