"yum update"がCentOS7で "libstdc ++"クラッシュする

実行yum update結果は次のとおりです。

Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * epel: mirror.imt-systems.com
 * ius: mirrors.ircam.fr
 * remi: mirror.23media.de
 * remi-safe: mirror.23media.de
 * rpmforge: miroir.univ-paris13.fr
Resolving Dependencies
--> Running transaction check
---> Package gdb.x86_64 0:7.6.1-100.el7 will be updated
---> Package gdb.x86_64 0:8.0-17.1.scylladb.1.el7.centos will be an update
--> Processing Dependency: gdb-headless(x86-64) = 8.0-17.1.scylladb.1.el7.centos for package: gdb-8.0-17.1.scylladb.1.el7.centos.x86_64
--> Running transaction check
---> Package gdb-headless.x86_64 0:8.0-17.1.scylladb.1.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                Arch                                             Version                                                                  Repository                                            Size
=============================================================================================================================================================================================================================================
Updating:
 gdb                                                    x86_64                                           8.0-17.1.scylladb.1.el7.centos                                           mcepl-vim8                                           277 k
Installing for dependencies:
 gdb-headless                                           x86_64                                           8.0-17.1.scylladb.1.el7.centos                                           mcepl-vim8                                           3.0 M

Transaction Summary
=============================================================================================================================================================================================================================================
Install             ( 1 Dependent package)
Upgrade  1 Package

Total size: 3.3 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.py from install of gdb-headless-8.0-17.1.scylladb.1.el7.centos.x86_64 conflicts with file from package libstdc++-4.8.5-16.el7_4.1.i686
  file /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.pyc from install of gdb-headless-8.0-17.1.scylladb.1.el7.centos.x86_64 conflicts with file from package libstdc++-4.8.5-16.el7_4.1.i686
  file /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.pyo from install of gdb-headless-8.0-17.1.scylladb.1.el7.centos.x86_64 conflicts with file from package libstdc++-4.8.5-16.el7_4.1.i686

Error Summary
-------------

私は本当に何をすべきかわからないし、何も台無しにしたくない。

ベストアンサー1

特にこのバージョンが必要ない場合libstdc++ ライブラリ、問題を引き起こすパッケージを削除する必要があります。

yum remove -y libstdc++-4.8.5-16.el7_4.1.i686

その後、パッケージのインストールを再実行します。

yum install gdb -y

通常、このような競合はサードパーティのストレージによって引き起こされます。無効化/削除できるserverfault.comリンクは次のとおりです。Yumリポジトリを削除する方法

おすすめ記事