views:

1313

answers:

3

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?

A: 

I use these subversion binaries for CentOS5 though I have not specifically used the mod_dav_svn RPM - Summersoft

I also note that with the subversion rpms provided with CentOS 5 httpd-mmn is provided by installing httpd. Maybe you have issues with your yum configuration?

Mark
sorry if i am beiing a noob, but i dont see how this would help since curently yum can download mod_dav_svn but it gives a missing dependency therefore i think its more of a problem with apache then with mod_dav_svn
solomongaby
These RPMs are build for CentOS 5 so you should not need to recompile anything. However, I looked at the standard svn rpms that come with CentOS 5 and have updated my answer. You should not have any dependency issues if you are only using CentOS supplied RPMS. CentOS 5 comes with httpd 2.2
Mark
+1  A: 

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

solomongaby
A: 

thanks, this caused me a lot of trouble too. but the exclude trick did it!

Jared