在centos上安装svn会产生依赖性错误

时间:2013-09-24 07:31:27

标签: svn centos

我通过SSH(一个操作系统)成功以root用户身份登录,现在我正在安装svn并获得以下输出

[root@SERVERIP ~]# yum install mod_dav_svn subversion
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mod_dav_svn.x86_64 0:1.6.11-9.el6_4 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_dav_svn-1.6.11-9.el6_4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64
---> Package subversion.x86_64 0:1.6.11-9.el6_4 will be installed
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-9.el6_4.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package mod_dav_svn.x86_64 0:1.6.11-9.el6_4 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_dav_svn-1.6.11-9.el6_4.x86_64
---> Package neon.x86_64 0:0.29.3-3.el6_4 will be installed
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-3.el6_4.x86_64
--> Running transaction check
---> Package mod_dav_svn.x86_64 0:1.6.11-9.el6_4 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_dav_svn-1.6.11-9.el6_4.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
--> Finished Dependency Resolution
Error: Package: mod_dav_svn-1.6.11-9.el6_4.x86_64 (updates)
       Requires: httpd-mmn = 20051115
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')

不知道我做错了什么。我错过了什么吗?

1 个答案:

答案 0 :(得分:5)

以下是解决方案:

$ find / -name "yum.conf"
$ nano /etc/yum.conf

从此行中删除httpd*

  

exclude = apache * bind-chroot courier * dovecot * exim * filesystem httpd *   mod_ssl * mydns * mysql * nsd * perl * php * proftpd * pure-ftpd * ruby​​ *   spamassassin * squirrelmail *

保存并关闭yum.conf,安装mod_dav_svn

yum install mod_dav_svn