运行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
-------------我真的不知道该做什么,我真的不想破坏任何东西。
发布于 2017-12-20 13:27:51
如果您不特别需要此版本的libstdc++,您可能希望删除导致此问题的包:
yum remove -y libstdc++-4.8.5-16.el7_4.1.i686然后再次运行包安装:
yum install gdb -y通常,这种冲突的发生是因为第三方存储库的存在。下面是serverfault.com上禁用/删除它的链接:如何删除yum的存储库?
https://unix.stackexchange.com/questions/411975
复制相似问题