linux安装gcc时出现错误 yum install gcc
Loadedplugins:refresh-packagekit,rhnpluginThissystemisnotregisteredwithRHN.RHNsupport...
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-55.el5 set to be updated
--> Processing Dependency: cpp = 4.1.2-55.el5 for package: gcc-4.1.2-55.el5.i386
--> Finished Dependency Resolution
Error: Package: gcc-4.1.2-55.el5.i386 (base)
Requires: cpp = 4.1.2-55.el5
Installed: cpp-4.4.4-13.el6.i686 (@anaconda-RedHatEnterpriseLinux-201009221732.i386/6.0)
cpp = 4.4.4-13.el6
Available: cpp-4.1.2-55.el5.i386 (base)
cpp = 4.1.2-55.el5
cpp = 4.1.1-52.el5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
求救,如何解决、,,,,,,,,, 展开
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-55.el5 set to be updated
--> Processing Dependency: cpp = 4.1.2-55.el5 for package: gcc-4.1.2-55.el5.i386
--> Finished Dependency Resolution
Error: Package: gcc-4.1.2-55.el5.i386 (base)
Requires: cpp = 4.1.2-55.el5
Installed: cpp-4.4.4-13.el6.i686 (@anaconda-RedHatEnterpriseLinux-201009221732.i386/6.0)
cpp = 4.4.4-13.el6
Available: cpp-4.1.2-55.el5.i386 (base)
cpp = 4.1.2-55.el5
cpp = 4.1.1-52.el5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
求救,如何解决、,,,,,,,,, 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
展开全部
你本机装的ccp版本太高了,先把ccp卸载,然后再安装gcc
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |