- 论坛徽章:
- 0
|
我的系统是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. |
|