免费注册 查看新帖 |

Chinaunix

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

问个yum本地安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-17 11:18 |只看该作者 |倒序浏览
[root@vm0 ~]# yum localinstall /home/rh5/Server/man-1.6d-1.1.i386.rpm
Failed to set locale, defaulting to C
Loading "installonlyn" plugin
Setting up Local Package Process
Examining /home/rh5/Server/man-1.6d-1.1.i386.rpm: man - 1.6d-1.1.i386
Marking /home/rh5/Server/man-1.6d-1.1.i386.rpm to be installed
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package man.i386 0:1.6d-1.1 set to be updated
--> Running transaction check
--> Processing Dependency: bzip2 for package: man
--> Processing Dependency: nroff-i18n for package: man
--> Processing Dependency: groff >= 1.18 for package: man
--> Finished Dependency Resolution
Error: Missing Dependency: bzip2 is needed by package man
Error: Missing Dependency: nroff-i18n is needed by package man
Error: Missing Dependency: groff >= 1.18 is needed by package man





[root@vm0 ~]# more /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=0
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo





请教,为什么安装不上?哪里设置有问题?

论坛徽章:
0
2 [报告]
发表于 2007-07-17 11:46 |只看该作者
既然是本地的rpm,为什么不用rpm -ivh /home/rh5/Server/man-1.6d-1.1.i386.rpm 来安装呀

并且下面的错误信息己经明确提示你,安装这个rpm需在下面这些rpm同时安装。
http://rpmfind.net
你可以到这个网站上去找你需要rpm,然后安装

Error: Missing Dependency: bzip2 is needed by package man
Error: Missing Dependency: nroff-i18n is needed by package man
Error: Missing Dependency: groff >= 1.18 is needed by package man

[ 本帖最后由 xingwenzhang 于 2007-7-17 11:48 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP