[CentOS] apache2 (httpd) subversion mod_svn_dav and yum

Ryders

Verified User
Joined
Aug 21, 2005
Messages
13
Location
Sydney, Australia
Hi,

I'm in the process of setting up a new server, obviously I don't want to do it right.. but perfectly! and... without being a complete newbie... I'm still not entirely comfortable with a few things, so pls bare with me!

One of my goals is to set up Subversion and Trac on the machine.

So I've successfully recompiled and migrated to apache 2.0.59 (thread) with mod_dav and without frontpage (I just hate fp...!)

Now, making sure my yum explude list if fine (thread) I tried
Code:
yum install subversion mod_dav_svn
and it comes out with the following;
Code:
Installing:
 mod_dav_svn             1.1.4-2.ent
 subversion              1.1.4-2.ent
Installing for dependencies:
 httpd                   2.0.52-28.ent.centos4

"httpd -v" returns "Server version: Apache/2.0.59" and so.. I obviously don't need and don't want httpd to be updated...

So I don't really understand where yum gets the version of the current httpd ... any clue?

Can anybody tell me if I did anything wrong or how could I get yum to install subversion and mod_dav_svn without worrying about httpd... which I know is correct anyway...?

Any input would be gold!

Cheers,

Seb.

[edit]adjusted the code tags output not to force the thread to be too wide...![/edit]
 
Last edited:
OK I will try to help but I run mostly BSD and just recently added a Linux (CentOS 4.3) server to my "farm"

It thinks it needs to that version of Apache and it is seeing something else installed. Even if it is newer it sees it as wrong.

You should be able to force the install but I am not sure how to do it with yum. Do a man yum and I bet you will find it.
 
Hey Skippy,

Thanks for your input! I ended up running
Code:
yum clean all
yum update --ignore httpd*
which worked like a charm. However the httpd* was already in the yum exclude list so I don't quite get why it tried updating the httpd. Plus the problem really was about the version which was reported incorrectly, but I believe the yum clean all must've fix that.

Hope this helps anybody else!

Cheers mate!

Seb.
 
I actually tried to do a

Code:
yum install subversion mod_dav_svn
as well.

But I'm stuck with some dependency errors.

Code:
[root@server5 ~]# yum install subversion mod_dav_svn
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for subversion to pack into transaction set.
subversion-1.4.4-0.1.el4. 100% |=========================|  28 kB    00:01
---> Package subversion.i386 0:1.4.4-0.1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libldap-2.2.so.7 for package: subversion
--> Processing Dependency: libaprutil-0.so.0 for package: subversion
--> Processing Dependency: libneon.so.24 for package: subversion
--> Processing Dependency: libssl.so.4 for package: subversion
--> Processing Dependency: libcrypto.so.4 for package: subversion
--> Processing Dependency: liblber-2.2.so.7 for package: subversion
--> Processing Dependency: libapr-0.so.0 for package: subversion
--> Processing Dependency: libdb-4.2.so for package: subversion
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for compat-openldap to pack into transaction set.
compat-openldap-2.3.27_2. 100% |=========================|  30 kB    00:00
---> Package compat-openldap.i386 0:2.3.27_2.2.29-5 set to be updated
---> Downloading header for openssl097a to pack into transaction set.
openssl097a-0.9.7a-9.i386 100% |=========================|  22 kB    00:00
---> Package openssl097a.i386 0:0.9.7a-9 set to be updated
---> Downloading header for compat-db to pack into transaction set.
compat-db-4.2.52-5.1.i386 100% |=========================|  13 kB    00:00
---> Package compat-db.i386 0:4.2.52-5.1 set to be updated
--> Running transaction check
--> Processing Dependency: libneon.so.24 for package: subversion
--> Processing Dependency: libaprutil-0.so.0 for package: subversion
--> Processing Dependency: libapr-0.so.0 for package: subversion
--> Finished Dependency Resolution
Error: Missing Dependency: libaprutil-0.so.0 is needed by package su
Error: Missing Dependency: libneon.so.24 is needed by package subver
Error: Missing Dependency: libapr-0.so.0 is needed by package subver

Can anyone help?
 
If you install subversion and subversion-devel via yum on CentOS, it will install APR and neon, which should solve your problem.

Careful though, altering APR version will require an Apache recompilation.
 
Back
Top