Mistake

Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.i686 0:4.4.7-11.el6 will be installed
--> PRocessing Dependency: libstdc++-devel = 4.4.7-11.el6 for package: gcc-c++-4.4.7-11.el6.i686
--> Processing Dependency: gcc = 4.4.7-11.el6 for package: gcc-c++-4.4.7-11.el6.i686
--> Running transaction check
---> Package gcc-c++.i686 0:4.4.7-11.el6 will be installed
--> Processing Dependency: gcc = 4.4.7-11.el6 for package: gcc-c++-4.4.7-11.el6.i686
---> Package libstdc++-devel.i686 0:4.4.7-11.el6 will be installed
--> Finished Dependency Resolution
Error: Package: gcc-c++-4.4.7-11.el6.i686 (c6-media)
Requires: gcc = 4.4.7-11.el6
Installed: gcc-4.4.7-16.el6.i686 (@base)
gcc = 4.4.4-15.el6
gcc = 4.4.7-16.el6
Available: gcc-4.4.7-11.el6.i686 (c6-media)
gcc = 4.4.7-11.el6
gcc = 4.4.4-15.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

solve

Delete the dependencies of gcc, cpp, libgomp, etc. first, and then reinstall gcc-c++ directly, let it automatically install the correct version of its dependent gcc, cpp, libgomp

yum remove gcc cpp libgomp

yum install gcc-c++
Likes(0)

Comment list count 0 Comments

No Comments

WeChat Self-Service

WeChat Consult

TaoBao

support@elephdev.com

发表
评论
Go
Top