I’m trying to get reacquainted with Subversion having not used it since my student days and was happy to find it was already installed on my Lubuntu 12.04 (either by default or because I’d previously installed it).
What I didn’t immediately realise was that the version installed was neither the latest (1.8) or the latest stable (1.7) version, but 1.6. (You can check the version of the installed SVN server using the command
Since I have automatic updates on I thought that was a bit strange so got to Googling and came across Kovstantin Kovshenin’s post Subversion 1.7 on Ubuntu 12.04 which helped.
Essentially I needed to add a couple of lines to my /etc/apt/sources.list file to reference a PPA from launchpad.
deb http://ppa.launchpad.net/svn/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/svn/ppa/ubuntu precise main
and then update subversion using apt-get at the command line:
sudo apt-get update
sudo apt-get install subversion
This is the point in the instructions where I hit a problem, getting the error message:
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXXX
Where XXXXXXXXXXXXXXXXX is a string of hex characters. The solution, as described here, was to update the list of GPG keys stored by Lubuntu using the command
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXXXXXXXXXXXX
Doing this and repeating the update commands above solved my problem, and rerunning the version check presented me with:
svnadmin, version 1.7.9 (r1462340)
compiled Apr 6 2013, 21:23:46