關於 下載 nfs-utils時的 gssproxy conflicts with selinux-policy-3.13.1-102.el7.noarch 錯誤


使用 yum install nfs-utils -y 時 

出現如下錯誤:



錯誤:gssproxy conflicts with selinux-policy-3.13.1-102.el7.noarch
 您可以嘗試添加 --skip-broken 選項來解決該問題
** 發現 6 個已存在的 RPM 數據庫問題, 'yum check' 輸出如下:
libselinux-2.5-14.1.el7.x86_64 是 libselinux-2.5-6.el7.x86_64 的副本
libselinux-utils-2.5-14.1.el7.x86_64 是 libselinux-utils-2.5-6.el7.x86_64 的副本
libsemanage-2.5-14.el7.x86_64 是 libsemanage-2.5-4.el7.x86_64 的副本
libsepol-2.5-10.el7.x86_64 是 libsepol-2.5-6.el7.x86_64 的副本
policycoreutils-2.5-29.el7_6.1.x86_64 是 policycoreutils-2.5-8.el7.x86_64 的副本
selinux-policy-3.13.1-229.el7_6.12.noarch 是 selinux-policy-3.13.1-102.el7.noarch 的副本



解決方法:

首先:

yum install yum-utils -y

然后執行命令:

package-cleanup --cleandupes -y

如果還存在如下錯誤:

Not removing selinux-policy-3.13.1-102.el7.noarch because it is required by 2 installed packages
Not removing libselinux-2.5-6.el7.x86_64 because it is required by 1 installed package
There are unfinished transactions remaining. You might consider running yum-complete-transaction,
or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them.
If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help). 再執行命令: package-cleanup --cleandupes with --removenewestdupes -y 之后重新下載即可 yum install nfs-utils -y

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM