Kubernetes 关于 下载 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

链接:

https://www.cnblogs.com/leeeel/p/10855010.html

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值