免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4543 | 回复: 3
打印 上一主题 下一主题

yum 安装gcc报错,请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-19 11:48 |只看该作者 |倒序浏览
我的系统是RHEL 5.4   yum 配置文件没有问题,软件仓库是/mnt/Server,但是在安装gcc时会报下面的错误,请高手指点

[root@hk1 Server]# yum install gcc-c++-4.1.2-46.el5.i386.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Examining gcc-c++-4.1.2-46.el5.i386.rpm: gcc-c++-4.1.2-46.el5.i386
Marking gcc-c++-4.1.2-46.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.i386 0:4.1.2-46.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-46.el5 for package: gcc-c++
--> Finished Dependency Resolution
gcc-c++-4.1.2-46.el5.i386 from /gcc-c++-4.1.2-46.el5.i386 has depsolving problems
  --> Missing Dependency: libstdc++-devel = 4.1.2-46.el5 is needed by package gcc-c++-4.1.2-46.el5.i386 (/gcc-c++-4.1.2-46.el5.i386)
Error: Missing Dependency: libstdc++-devel = 4.1.2-46.el5 is needed by package gcc-c++-4.1.2-46.el5.i386 (/gcc-c++-4.1.2-46.el5.i386)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2010-03-19 15:45 |只看该作者
包不全.

论坛徽章:
0
3 [报告]
发表于 2010-03-19 15:58 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2010-03-19 16:12 |只看该作者
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
你可以根据提示来操作
或者你可以直接yum install *gcc* 来安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP