`

Ubuntu 14.04(降级)安装SVN 1.7

 
阅读更多
 Step 1: 增加源到 source.list

sudo add-apt-repository "deb http://extras.ubuntu.com/ubuntu saucy main"

sudo add-apt-repository "deb http://de.archive.ubuntu.com/ubuntu/ saucy main universe restricted multiverse"


Step 2: 删除 svn 1.8 package

sudo apt-get remove subversion libsvn1


Step 3: 更新源

sudo apt-get update


Step 4: 安装 svn 1.7

sudo apt-get install subversion=1.7.9-1+nmu6ubuntu3 libsvn1=1.7.9-1+nmu6ubuntu3 subversion-tools=1.7.9-1+nmu6ubuntu3


Step 5: 锁定 SVN to 1.7 to 防止自动升级

echo subversion hold | sudo dpkg --set-selections

echo libsvn1 hold | sudo dpkg --set-selections

echo libserf1 hold | sudo dpkg --set-selections


Step 6: 从源sources.list中移除 Step 1 增加的行

sudo gedit /etc/apt/sources.list

移除:deb http://extras.ubuntu.com/ubuntu saucy main

移除:deb http://de.archive.ubuntu.com/ubuntu/ saucy main universe restricted multiverse


Step 7: 更新源

sudo apt-get update


Step 8: 查看svn版本

svn --version

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics