溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

rhel6.5怎么解決包的依賴問(wèn)題

發(fā)布時(shí)間:2021-08-18 21:17:18 來(lái)源:億速云 閱讀:130 作者:chen 欄目:云計(jì)算

這篇文章主要講解了“rhel6.5怎么解決包的依賴問(wèn)題”,文中的講解內(nèi)容簡(jiǎn)單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著小編的思路慢慢深入,一起來(lái)研究和學(xué)習(xí)“rhel6.5怎么解決包的依賴問(wèn)題”吧!

在yum安裝相關(guān)rpm包的過(guò)程當(dāng)中有時(shí)會(huì)出現(xiàn)

如下錯(cuò)誤: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

另一個(gè)錯(cuò)誤

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

原因:多個(gè)庫(kù)共存沖突

解決辦法:在執(zhí)行命令后面加上:--setopt=protected_multilib=false 

再次執(zhí)行:yum install gtk2.*i686  --setopt=protected_multilib=false

ok!

還可以把高版本的卸掉,裝個(gè)低版本的組件。

感謝各位的閱讀,以上就是“rhel6.5怎么解決包的依賴問(wèn)題”的內(nèi)容了,經(jīng)過(guò)本文的學(xué)習(xí)后,相信大家對(duì)rhel6.5怎么解決包的依賴問(wèn)題這一問(wèn)題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是億速云,小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI