【发布时间】:2020-11-08 00:51:24
【问题描述】:
当我尝试在 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
- 基础:mirror.airenetworks.es
- city-fan.org:www.city-fan.org
- epel:mirror.uv.es
- 附加:mirror.airenetworks.es
- remi: remirepo.reloumirrors.net
- remi-php73:remirepo.reloumirrors.net
- remi-php74: remirepo.reloumirrors.net
- remi-safe:remirepo.reloumirrors.net
- 更新:mirror.airenetworks.es
- webtatic: uk.repo.webtatic.com 帕切蒂安装 libselinux.i686 2.5-15.el7 @base libselinux.x86_64 2.5-15.el7 @base Pacchetti disponibili libselinux.i686 2.5-15.el7 基础 libselinux.x86_64 2.5-15.el7 基础
我应该怎么做才能解决它?
谢谢,
【问题讨论】: