실행 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 저장소를 삭제하는 방법