博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
rhel6.5解决包的依赖的一个处理方法
阅读量:6074 次
发布时间:2019-06-20

本文共 2732 字,大约阅读时间需要 9 分钟。

在yum安装相关rpm包的过程当中有时会出现

如下错误:yum install elfutils-libelf*i686

Error: Protected multilib versions: elfutils-libelf-devel-0.152-1.el6.i686 != elfutils-libelf-devel-0.164-2.el6.x86_64

You could try using --skip-broken to work around the problem

** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:

cifs-utils-4.8.1-19.el6.x86_64 has missing requires of libwbclient.so.0()(64bit)

gnome-vfs2-smb-2.24.2-6.el6.x86_64 has missing requires of libsmbclient >= ('0', '3.0.8', '0.pre1.3')

gnome-vfs2-smb-2.24.2-6.el6.x86_64 has missing requires of libsmbclient.so.0()(64bit)

gvfs-smb-1.4.3-16.el6_5.x86_64 has missing requires of libsmbclient.so.0()(64bit)

sssd-1.9.2-129.el6_5.4.x86_64 has missing requires of libndr-krb5pac.so.0()(64bit)

sssd-1.9.2-129.el6_5.4.x86_64 has missing requires of libndr-krb5pac.so.0(NDR_KRB5PAC_0.0.1)(64bit)

sssd-1.9.2-129.el6_5.4.x86_64 has missing requires of libndr.so.0()(64bit)

sssd-1.9.2-129.el6_5.4.x86_64 has missing requires of libndr.so.0(NDR_0.0.1)(64bit)

sssd-1.9.2-129.el6_5.4.x86_64 has missing requires of libsamba-util.so.0()(64bit)

sssd-1.9.2-129.el6_5.4.x86_64 has missing requires of libsamba-util.so.0(SAMBA_UTIL_0.0.1)(64bit)

解决:可以先把i686去掉,看能不能装成功

然后还可以尝试

yum install zlib-devel libsmbclient* keyutils-libs-devel libselinux-devel

yum clean all

rm -f /var/lib/rpm/__db*

rpm --rebuilddb

yum update

另一个错误

yum install gtk2.*i686  

       Protected multilib versions: libtiff-3.9.4-9.el6_3.i686 != libtiff-3.9.4-10.el6_5.x86_64

Error: Protected multilib versions: audit-libs-2.2-2.el6.i686 != audit-libs-2.2-4.el6_5.x86_64

Error: Protected multilib versions: glib2-2.26.1-3.el6.i686 != glib2-2.26.1-7.el6_5.x86_64

Error: Protected multilib versions: pixman-0.26.2-5.el6_4.i686 != pixman-0.26.2-5.1.el6_5.x86_64

Error: Protected multilib versions: avahi-libs-0.6.25-12.el6.i686 != avahi-libs-0.6.25-12.el6_5.3.x86_64

Error: Protected multilib versions: libcom_err-1.41.12-18.el6.i686 != libcom_err-1.41.12-18.el6_5.1.x86_64

Error: Protected multilib versions: gnutls-2.8.5-10.el6_4.2.i686 != gnutls-2.8.5-14.el6_5.x86_64

Error: Protected multilib versions: 1:cups-libs-1.4.2-50.el6_4.5.i686 != 1:cups-libs-1.4.2-52.el6_5.2.x86_64

Error: Protected multilib versions: libjpeg-turbo-1.2.1-1.el6.i686 != libjpeg-turbo-1.2.1-3.el6_5.x86_64

Error: Protected multilib versions: libtasn1-2.3-3.el6_2.1.i686 != libtasn1-2.3-6.el6_5.x86_64

Error: Protected multilib versions: krb5-libs-1.10.3-10.el6_4.6.i686 != krb5-libs-1.10.3-15.el6_5.1.x86_64

Error: Protected multilib versions: libselinux-2.0.94-5.3.el6_4.1.i686 != libselinux-2.0.94-7.el6.x86_64

原因:多个库共存冲突

解决办法:在执行命令后面加上:--setopt=protected_multilib=false 

再次执行:yum install gtk2.*i686  --setopt=protected_multilib=false

ok!

还可以把高版本的卸掉,装个低版本的组件。

转载地址:http://qungx.baihongyu.com/

你可能感兴趣的文章
关于消息队列的使用
查看>>
对象的创建与销毁
查看>>
case功能菜单选项
查看>>
HP ILO2 使用详细教程
查看>>
Scout YYF I (概率+矩阵快速幂)
查看>>
Reverse and Compare(DP)
查看>>
1503 猪和回文(DP)
查看>>
345. 反转字符串中的元音字母
查看>>
在浏览器输入URL后发生了什么?
查看>>
高德地图定位之浏览器定位
查看>>
[ HNOI 2005 ] 狡猾的商人
查看>>
神经网络建模的一些感悟;
查看>>
FTPS (FTP over SSL) vs. SFTP (SSH 文件传输协议): 我们如何做出选择
查看>>
steam账号分享工具、迅游账号分享工具说明:
查看>>
c++中冒号(:)和双冒号(::)的用法
查看>>
ServletContext保存访问量
查看>>
IMSI,TMSI的关系
查看>>
JPA + Hibernate + PostgreSQL + Maven基本配置示例
查看>>
vue cordova生成app
查看>>
Kubernetes安装部署演示介绍
查看>>