当我尝试在centos 7上更新yum时,出现multilib错误:
Errore: 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.:
1. You have an upgrade for libnghttp2 which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libnghttp2 of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libnghttp2.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libnghttp2 installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libnghttp2 installed already.
You can use "yum check" to get yum show these errors.
...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).
Versioni multilib protette: libnghttp2-1.33.0-1.1.el7.x86_64 != libnghttp2-1.31.1-2.el7.i686
我试图通过以下方法解决该问题:
sudo yum erase libselinux.i686
但这并没有改变。
sudo package-cleanup --dupes
什么也没给。 如果我执行:
sudo yum list --showduplicates libselinux
Plugin abilitati:fastestmirror, langpacks
Repository nodesource is listed more than once in the configuration
Repository nodesource-source is listed more than once in the
configuration
Loading mirror speeds from cached hostfile
我该如何解决?
谢谢
答案 0 :(得分:0)
该问题显然是通过执行以下操作解决的:
sudo yum erase libnghttp2.i686
在那之后,yum更新无缝进行了。