--> 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.:
1. You have an upgrade for libstdc++ which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libstdc++ 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 libstdc++.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libstdc++ 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 libstdc++ 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).
Protected multilib versions: libstdc++-4.8.5-44.el7.x86_64 != libstdc++-4.8.5-39.el7.i686
yum install -y cpp* compat-libstdc++-33* gcc-4.4* gcc-c++* glibc-* compat-libcap* compat-libstdc++-33* glibc-* \
glibc-devel-* ksh libgcc-* libstdc++-* libstdc++-devel-* libaio-* libaio-devel-* make-* sysstat-* binutils-* elfutils-libelf-devel-* \
vim sg3* redhat-lsb device-mapper* lvm* unzip telnet* dstat iotop vixie-cron xterm xorg-x11-apps
#### 以下操作无效果
yum install --setopt=protected_multilib=false libstdc++
Transaction check error:
file /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyc from install of libstdc++-4.8.5-44.el7.x86_64 conflicts with file from package libstdc++-4.8.5-39.el7.i686
file /usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyo from install of libstdc++-4.8.5-44.el7.x86_64 conflicts with file from package libstdc++-4.8.5-39.el7.i686
[root@localhost ~]# rpm -qa | grep libstdc
libstdc++-4.8.5-39.el7.x86_64
libstdc++-devel-4.8.5-39.el7.x86_64
libstdc++-docs-4.8.5-39.el7.x86_64
libstdc++-4.8.5-39.el7.i686
[root@localhost ~]# rpm -e libstdc++-4.8.5-39.el7.i686
[root@localhost ~]# rpm -qa | grep libstdc
libstdc++-4.8.5-39.el7.x86_64
libstdc++-devel-4.8.5-39.el7.x86_64
libstdc++-docs-4.8.5-39.el7.x86_64
#### 单独更新audit-libs,失败
sudo yum update audit-libs
#### 移除它们:
sudo yum remove audit-libs.i686 0:2.8.1-3.el7
sudo yum remove systemd-libs-219-57.el7.i686
#### 然后更新系统即可:
sudo yum update
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




