如何使用 yum 安装?因为当我尝试这个时:
yum install gcc gmake make libcpp libgcc libstdc++ gcc4 \
gcc4-c++ gcc4-gfortran subversion ruby ncurses-devel -y
Subversion 未安装,
我尝试了这个:
rpm -q subversion
响应是未安装软件包 subversion
执行 yum 命令后我收到以下响应:
root@server [/usr/local/src]# yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran subversion ruby ncurses-devel -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.easynews.com
* extras: mirrors.usc.edu
* updates: mirrors.usc.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package gcc-4.1.2-50.el5.x86_64 already installed and latest version
No package gmake available.
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
No package libcpp available.
Package libgcc-4.1.2-50.el5.x86_64 already installed and latest version
Package libgcc-4.1.2-50.el5.i386 already installed and latest version
Package libstdc++-4.1.2-50.el5.x86_64 already installed and latest version
Package libstdc++-4.1.2-50.el5.i386 already installed and latest version
No package gcc4 available.
No package gcc4-c++ available.
No package gcc4-gfortran available.
No package ruby available.
Package ncurses-devel-5.5-24.20060715.x86_64 already installed and latest version
Package ncurses-devel-5.5-24.20060715.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package subversion.i386 0:1.6.11-7.el5_6.4 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: neon >= 0.25.5-6.el5 for package: subversion
--> Processing Dependency: libneon.so.25 for package: subversion
--> Processing Dependency: libapr-1.so.0 for package: subversion
--> Processing Dependency: libaprutil-1.so.0 for package: subversion
---> Package subversion.x86_64 0:1.6.11-7.el5_6.4 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion
--> Running transaction check
---> Package apr.i386 0:1.2.7-11.el5_6.5 set to be updated
---> Package apr.x86_64 0:1.2.7-11.el5_6.5 set to be updated
---> Package apr-util.i386 0:1.2.7-11.el5_5.2 set to be updated
--> Processing Dependency: libpq.so.4 for package: apr-util
---> Package apr-util.x86_64 0:1.2.7-11.el5_5.2 set to be updated
--> Processing Dependency: libpq.so.4()(64bit) for package: apr-util
---> Package neon.i386 0:0.25.5-10.el5_4.1 set to be updated
---> Package neon.x86_64 0:0.25.5-10.el5_4.1 set to be updated
---> Package subversion.i386 0:1.6.11-7.el5_6.4 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
---> Package subversion.x86_64 0:1.6.11-7.el5_6.4 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Running transaction check
---> Package postgresql-libs.i386 0:8.1.23-1.el5_6.1 set to be updated
---> Package postgresql-libs.x86_64 0:8.1.23-1.el5_6.1 set to be updated
---> Package subversion.i386 0:1.6.11-7.el5_6.4 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
---> Package subversion.x86_64 0:1.6.11-7.el5_6.4 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Finished Dependency Resolution
subversion-1.6.11-7.el5_6.4.x86_64 from updates has depsolving problems
--> Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.4.x86_64 (updates)
subversion-1.6.11-7.el5_6.4.i386 from updates has depsolving problems
--> Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.4.i386 (updates)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.4.x86_64 (updates)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.4.i386 (updates)
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.
答案1
您的控制面板提供商已在 yum 中排除了一些软件包,因此他们不会覆盖完全相同的软件包的版本。不用担心,他们可以将他们的东西放在自己的目录中。但无论如何。向您的控制面板提供商投诉。