免费注册 查看新帖 |

Chinaunix

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

centos 安装rpm问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-27 15:17 |只看该作者 |倒序浏览
[root@localhost soft]# yum install rpm-build-5.0-0.2.0.fc5.rf.x86_64.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.ustc.edu.cn
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Setting up Install Process
Examining rpm-build-5.0-0.2.0.fc5.rf.x86_64.rpm: rpm-build-5.0-0.2.0.fc5.rf.x86_64
Marking rpm-build-5.0-0.2.0.fc5.rf.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rpm-build.x86_64 0:5.0-0.2.0.fc5.rf set to be updated
--> Processing Dependency: getconf(GNU_LIBPTHREAD_VERSION) = NPTL for package: rpm-build
--> Processing Dependency: rpm = 5.0-0.2.0.fc5.rf for package: rpm-build
--> Processing Dependency: librpm-5.0.so(LIBRPM_0)(64bit) for package: rpm-build
--> Processing Dependency: librpmbuild-5.0.so(LIBRPMBUILD_0)(64bit) for package: rpm-build
--> Processing Dependency: librpmdb-5.0.so(LIBRPMDB_0)(64bit) for package: rpm-build
--> Processing Dependency: librpmio-5.0.so(LIBRPMIO_0)(64bit) for package: rpm-build
--> Processing Dependency: libbeecrypt.so.6()(64bit) for package: rpm-build
--> Processing Dependency: librpm-5.0.so()(64bit) for package: rpm-build
--> Processing Dependency: librpmbuild-5.0.so()(64bit) for package: rpm-build
--> Processing Dependency: librpmdb-5.0.so()(64bit) for package: rpm-build
--> Processing Dependency: librpmio-5.0.so()(64bit) for package: rpm-build
--> Running transaction check
---> Package beecrypt.x86_64 0:4.1.2-10.1.1 set to be updated
---> Package rpm-build.x86_64 0:5.0-0.2.0.fc5.rf set to be updated
--> Processing Dependency: getconf(GNU_LIBPTHREAD_VERSION) = NPTL for package: rpm-build
--> Processing Dependency: rpm = 5.0-0.2.0.fc5.rf for package: rpm-build
--> Processing Dependency: librpm-5.0.so(LIBRPM_0)(64bit) for package: rpm-build
--> Processing Dependency: librpmbuild-5.0.so(LIBRPMBUILD_0)(64bit) for package: rpm-build
--> Processing Dependency: librpmdb-5.0.so(LIBRPMDB_0)(64bit) for package: rpm-build
--> Processing Dependency: librpmio-5.0.so(LIBRPMIO_0)(64bit) for package: rpm-build
--> Processing Dependency: librpm-5.0.so()(64bit) for package: rpm-build
--> Processing Dependency: librpmbuild-5.0.so()(64bit) for package: rpm-build
--> Processing Dependency: librpmdb-5.0.so()(64bit) for package: rpm-build
--> Processing Dependency: librpmio-5.0.so()(64bit) for package: rpm-build
--> Finished Dependency Resolution
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpm-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpmdb-5.0.so(LIBRPMDB_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpmbuild-5.0.so(LIBRPMBUILD_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpmdb-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpmio-5.0.so(LIBRPMIO_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpm-5.0.so(LIBRPM_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpmio-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: librpmbuild-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
rpm-build-5.0-0.2.0.fc5.rf.x86_64 from /rpm-build-5.0-0.2.0.fc5.rf.x86_64 has depsolving problems
  --> Missing Dependency: rpm = 5.0-0.2.0.fc5.rf is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpmbuild-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpmdb-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpmdb-5.0.so(LIBRPMDB_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpm-5.0.so(LIBRPM_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpmbuild-5.0.so(LIBRPMBUILD_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpmio-5.0.so(LIBRPMIO_0)(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpmio-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: librpm-5.0.so()(64bit) is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
Error: Missing Dependency: rpm = 5.0-0.2.0.fc5.rf is needed by package rpm-build-5.0-0.2.0.fc5.rf.x86_64 (/rpm-build-5.0-0.2.0.fc5.rf.x86_64)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
我的问题是:上面提示的那些没装的怎么一起装上,因为我现在是:装一个还是每次都缺少,一个一个的装不现实

论坛徽章:
2
午马
日期:2015-01-27 11:22:392015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2010-05-27 16:13 |只看该作者
centos 为什么装fc5的rpm包?  提示无法解决依赖

论坛徽章:
0
3 [报告]
发表于 2010-05-27 16:15 |只看该作者
回复 2# to407

我意思到这个问题了,后来又下载了一个rpm-build-5.0-0.1.0.el5.rf.x86_64.rpm redhat版本的,但是这个时候出现一下问题:
[root@localhost soft]# rpm  -ivh rpm-build-5.0-0.1.0.el5.rf.x86_64.rpm
warning: rpm-build-5.0-0.1.0.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1aa78495
error: Failed dependencies:
        getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        libbeecrypt.so.6()(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpm-4.5.so()(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpm-4.5.so(LIBRPM_0)(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpmbuild-4.5.so()(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpmbuild-4.5.so(LIBRPMBUILD_0)(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpmdb-4.5.so()(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpmdb-4.5.so(LIBRPMDB_0)(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpmio-4.5.so()(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        librpmio-4.5.so(LIBRPMIO_0)(64bit) is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
        rpm = 5.0-0.1.0.el5.rf is needed by rpm-build-5.0-0.1.0.el5.rf.x86_64
后来查询这个问题:答案在这里:
http://blog.chinaunix.net/u/16874/showart_142580.html

但是不知道怎么去用?

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
4 [报告]
发表于 2010-05-27 16:42 |只看该作者
不是有 yum 么,源不对吧?

论坛徽章:
0
5 [报告]
发表于 2010-05-27 19:17 |只看该作者
The program package-cleanup is found in the yum-utils package.
yum源的问题,用过一个源

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2010-05-27 21:23 |只看该作者
用官方的源或者直接安装光盘自带的包

论坛徽章:
0
7 [报告]
发表于 2010-05-27 22:36 |只看该作者
提示的很清楚阿 :
使用:
yum install rpm-build-5.0-0.2.0.fc5.rf.x86_64.rpm  --skip-broken


出现这种情况是因为使用的yum库里面的软件和CentOS不兼容,建议使用官方的yum库

论坛徽章:
0
8 [报告]
发表于 2010-05-28 08:38 |只看该作者
lz请添加rpmforge的源,然后再安装
http://rpmrepo.org/RPMforge/Using

论坛徽章:
0
9 [报告]
发表于 2010-05-28 09:09 |只看该作者
回复 1# liuguiyou1981


    谢谢各位的回答,在各位的帮助下,问题已经解决
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP