CentOS 7 yum update -y 出现错误 Protected multilib versions libsepol 解决方法
使用 yum update -y
升级 CentOS 7 时,出现如下错误
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
Protected multilib versions: libstdc++-4.8.5-44.el7.i686 != libstdc++-4.8.5-28.el7_5.1.x86_6
错误原因是同一个包 libstdc++ 有多个版本共存。
解决方法,加上 --setopt=protected_multilib=false 参数,重新执行命令
yum update -y --setopt=protected_multilib=false
由 Protected multilib versions 导致的 yum 更新或安装问题解决了。