Subversion 1.6 on Debian Lenny
Currently the Version of Subversion in Debian Lenny is 1.5.1, there are a few bugs in this that could be show stoppers if you are using a write through proxy setup for your SVN Repo’s as i have. There are two bugs that keep cropping up, one that is solved in 1.5.5, the other in 1.6, however if you want to use debian packages the easiest way i have found to install them is as follows
Update 1: Few people are having problems, this guide assumes your running lenny with the default svn packages already installed, to do this try running the command below to install the latest version from apt (1.5.x as i write this) including the required Apache modules
1 | apt-get install subversion subversion-tools apache2 libapache2-svn |
Update 2: New post on how to extend this guide to go from svn 1.6.1 to svn 1.6.3 – Debian: Upgrade Svn 1.6.1 to 1.6.3
Update 3:This post was originally just some notes for me on highly critical production servers that all had to be running exactly the same versions and i had to have a very controled upgrade, However google sends a few hundred people here a month! So i thought id include the better general way that has been in the comments for awhile
Update 4: Guide now available for SVN 1.7
The best way are the commands below.
1 2 3 4 | echo "deb http://www.backports.org/debian lenny-backports main contrib non-free" >> /etc/apt/sources.list wget -O - http://backports.org/debian/archive.key | apt-key add - apt-get update apt-get -t lenny-backports install subversion subversion-tools libapache2-svn |
Original Post
32Bit
1 2 3 4 5 6 7 8 9 10 11 12 | mkdir /tmp/svn16 cd /tmp/svn16 wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion_1.6.1dfsg-1_i386.deb wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libsvn1_1.6.1dfsg-1_i386.deb wget http://ftp.au.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.6.13-1_i386.deb wget http://ftp.au.debian.org/debian/pool/main/d/db/libdb4.7_4.7.25-6_i386.deb wget http://ftp.au.debian.org/debian/pool/main/a/apr-util/libaprutil1_1.3.4+dfsg-1_i386.deb wget http://ftp.au.debian.org/debian/pool/main/a/apr/libapr1_1.3.3-3_i386.deb wget http://ftp.au.debian.org/debian/pool/main/i/icu/libicu40_4.0.1-2_i386.deb wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libapache2-svn_1.6.1dfsg-1_i386.deb wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion-tools_1.6.1dfsg-1_all.deb dpkg -i *.deb |
64 Bit
1 2 3 4 5 6 7 8 9 10 11 12 | mkdir /tmp/svn16 cd /tmp/svn16 wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion_1.6.1dfsg-1_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libsvn1_1.6.1dfsg-1_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.6.13-1_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/d/db/libdb4.7_4.7.25-6_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/a/apr-util/libaprutil1_1.3.4+dfsg-1_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/a/apr/libapr1_1.3.3-3_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/i/icu/libicu40_4.0.1-2_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/s/subversion/libapache2-svn_1.6.1dfsg-1_amd64.deb wget http://ftp.au.debian.org/debian/pool/main/s/subversion/subversion-tools_1.6.1dfsg-1_all.deb dpkg -i *.deb |
Pingback: Debian: Upgrade Svn 1.6.1 to 1.6.3 - swherdman.com
Pingback: Lenny svn 1.5 to 1.6 « siistii