Upgrading subversion 1.42 => 1.6.x via yum

Well, the only rpm repository out there offering subversion above 1.4.x was / is rpmforge (aka DAG).

In order to add rpmforge to your RedHat / CentOs repository one has to update their yum repositories by installing the rpmforge-release package which you can also find @: http://packages.sw.be/rpmforge-release/


The problem I encountered was, I had a Centos 5.5 x86_64 with subversion & mod_dav_svn 1.4.2, after updating to the latest rpmforge-release, I expected a 

yum update subversion mod_dav_svn

to do the trick for me well no ...

So after banging my head on my keyboard after trying to manually downloading the rpms (which are there by the way!), and still faling on dependencies.


Reading all I could online in order to solve this issue I stunbledupon:


The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.

You can find a complete listing of the RPMforge package packages at http://packages.sw.be/


Now considering the fact I am running CentOs 5.x I presumed following the CentOs 6.x shouldnt apply there. But I chose to give it a try anyway. I observed the yum.repos.d/rpmforge-mirrorlist file and spotted "rpmforge-extras" which is a repository I was somehow skipping ...

So I edited the /etc/yum.repos.d/rpmforge.repo file and addedd the following snippet:



name = rpmforge-extras
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/extras
enabled = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1


Ran yum update and 

yum update subversion

and still no luck ..., the fuzzy thing was that even whilst running:

yum list available | grep subversion

came up with nothing ...


I set my mind on performing this upgrade wven if I need to compile it from source (but I prefereed not to) so the last resort before compiling was to remove subversion completely and try my luck - which was exattly what did the trick:

rpm -e subversion


rpm -e mod_dav_svn

removed my subversoin 1.4.2 pack

then executed:


yum install subversion mod_dav_svn

and walla I got subversion-1.6.15 - amazing and completely voodoo if you ask me :)


Hope you find this useful.