yum: Multilib version problems found

在使用yum安装软件时遇到版本冲突错误,提示protected_multilib问题。文章建议可以通过添加--setopt=protected_multilib=false参数来临时禁用多库版本检查,但警告这可能引发其他问题。推荐的安装命令包含了这个参数,以避免版本冲突。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值