免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4188 | 回复: 2

[系统管理] krb5包依赖关系,陷入死循环 [复制链接]

论坛徽章:
0
发表于 2015-07-24 10:44 |显示全部楼层
krb5包依赖关系,

环境不能上网,只能手动rpm安装。安装krb5-devel时陷入死循环,

[root@root ~]# rpm -ivh /mnt/Packages/krb5-devel-1.8.2-3.el6.x86_64.rpm
warning: /mnt/Packages/krb5-devel-1.8.2-3.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
        krb5-libs = 1.8.2-3.el6 is needed by krb5-devel-1.8.2-3.el6.x86_64  #提示缺少这个包
        libcom_err-devel is needed by krb5-devel-1.8.2-3.el6.x86_64
        libkadm5clnt_mit.so.7()(64bit) is needed by krb5-devel-1.8.2-3.el6.x86_64
        libkadm5srv_mit.so.7()(64bit) is needed by krb5-devel-1.8.2-3.el6.x86_64
        libkdb5.so.4()(64bit) is needed by krb5-devel-1.8.2-3.el6.x86_64
        libselinux-devel is needed by krb5-devel-1.8.2-3.el6.x86_64
[root@root ~]# rpm -qa|grep krb5-libs*
krb5-libs-1.10.3-37.el6_6.x86_64
[root@root ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.0 (Santiago)
[root@root ~]# uname -a
Linux root 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@root ~]#
[root@root ~]# rpm -ivh /mnt/Packages/krb5-libs-1.8.2-3.el6.x86_64.rpm  #安装这个包
warning: /mnt/Packages/krb5-libs-1.8.2-3.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
        package krb5-libs-1.10.3-37.el6_6.x86_64 (which is newer than krb5-libs-1.8.2-3.el6.x86_64) is already installed  #提示这个包已经安装过,只是版本更高点
        file /lib64/libgssapi_krb5.so.2.2 from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /lib64/libgssrpc.so.4.1 from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /lib64/libk5crypto.so.3.1 from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /lib64/libkrb5.so.3.3 from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /lib64/libkrb5support.so.0.1 from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /usr/lib64/krb5/plugins/kdb/db2.so from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /usr/share/man/man1/kerberos.1.gz from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /usr/share/man/man5/.k5login.5.gz from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
        file /usr/share/man/man5/krb5.conf.5.gz from install of krb5-libs-1.8.2-3.el6.x86_64 conflicts with file from package krb5-libs-1.10.3-37.el6_6.x86_64
[root@root ~]# rpm -e krb5-libs-1.10.3-37.el6_6.x86_64   #想卸载这些包,但又有依赖关系
error: Failed dependencies:
        libgssapi_krb5.so.2()(64bit) is needed by (installed) cyrus-sasl-gssapi-2.1.23-15.el6_6.2.x86_64
        libgssapi_krb5.so.2()(64bit) is needed by (installed) cups-libs-1:1.4.2-67.el6.x86_64

请问该怎么解决?

论坛徽章:
0
发表于 2015-07-24 10:54 |显示全部楼层
找到解决方法了,很好


今天升级下系统,yum -y update时候提示如下错误:
package libstdc++-4.3.0-8.x86_64 (which is newer than libstdc++-4.1.2-46.el5_4.2.i386) is already installed

解决办法:
shell> updatedb
shell> locate libstdc++-4.1.2-46.el5_4.2.i386
/var/cache/yum/update/packages/libstdc++-4.1.2-46.el5_4.2.i386.rpm
shell> rpm -ivh --oldpackage --force /var/cache/yum/update/packages/libstdc++-4.1.2-46.el5_4.2.i386.rpm

论坛徽章:
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
发表于 2015-07-24 14:18 |显示全部楼层
不能直接访问外网搭建个代理服务器即可
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP