安装开发工具包错误 Centos 6.6

安装开发工具包错误 Centos 6.6

我正在尝试安装curl-devel包作为安装 git 2.xx 的先前步骤:

 yum install curl-devel

但我收到很多这样的错误:

Error: Package: gcc-c++-4.4.7-4.el6.x86_64 (@base)
           Requires: libstdc++ = 4.4.7-4.el6
           Removing: libstdc++-4.4.7-4.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.7-4.el6
           Updated By: libstdc++-4.4.7-16.el6.x86_64 (base)
               libstdc++ = 4.4.7-16.el6
               libstdc++ = 4.4.4-15.el6
           Removing: libstdc++-4.4.7-11.el6.x86_64 (installed)
               libstdc++ = 4.4.4-15.el6
               libstdc++ = 4.4.7-11.el6
           Updated By: libstdc++-4.4.7-16.el6.x86_64 (base)
               libstdc++ = 4.4.7-16.el6
               libstdc++ = 4.4.4-15.el6
 You could try using --skip-broken to work around the problem

我不知道这个错误是怎么回事。有人能解释一下并建议如何修复它吗?

答案1

您可以使用以下命令 -:

yum install curl-devel --skip-broken 

or 

yum install gcc*  

then 

yum install curl-devel

相关内容