Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CentOS install mod_dav_svn

I am trying to install subversion on a centos 5 VPS. I managed to install subversion but when I try to do yum install mod_dav_svn I get this error:

Error: Missing Dependency: httpd-mmn = 20051115 is needed by package mod_dav_svn

After a lot of googling I read that you need Apache 2.2 (I previously had 2.0) so I recompiled the server with Apache 2.2 but I still got the same error. I want to mention that I recompiled it with the mod_dav extension.

What am I doing wrong?

like image 647
Gabriel Solomon Avatar asked Nov 28 '22 00:11

Gabriel Solomon


2 Answers

$ find / -name "yum.conf"

$ nano /etc/yum.conf

Remove httpd* from this line:

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

Save and close yum.conf, install mod_dav_svn

yum install mod_dav_svn

like image 86
geberele Avatar answered Dec 05 '22 22:12

geberele


httpd-mmn usually comes with apache package for every version >= 2.0
the problem was that http* was in yum exclude list and it made yum think it wasn't installed. removing it from the exclude list solve the problem

like image 20
Gabriel Solomon Avatar answered Dec 05 '22 21:12

Gabriel Solomon