yum: Multilib version problems found

yum安装软件是出现如下错误:提示版本冲突

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.:

解决办法:

...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

根据上面的报错提示,yum安装时使用--setopt=protected_multilib=false参数即可

最终安装命令:

yum install -y gcc gcc-c++ make libtool wget pcre pcre-devel 
zlib zlib-devel openssl openssl-devel --setopt=protected_multilib=false

猜你喜欢

转载自blog.csdn.net/weixin_43883625/article/details/129771802