您的位置:首页 > 其它

KUbuntu/Ubuntu 14.04 (降级)安装 svn 1.7

2014-10-28 16:41 447 查看
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

[cpp] view
plaincopyprint?

~$ svn --version  

svn,版本 1.7.9 (r1462340)  

   编译于 Oct 15 2013,12:40:34  

  

  

Copyright (C) 2013 The Apache Software Foundation.  

This software consists of contributions made by many people; see the NOTICE  

file for more information.  

Subversion is open source software, see http://subversion.apache.org/  

  

  

可使用以下的版本库访问模块:   

  

  

* ra_neon : 通过 WebDAV 协议使用 neon 访问版本库的模块。  

  - 处理“http”方案  

  - 处理“https”方案  

* ra_svn : 使用 svn 网络协议访问版本库的模块。  - 使用 Cyrus SASL 认证  

  - 处理“svn”方案  

* ra_local : 访问本地磁盘的版本库模块。  

  - 处理“file”方案  

* ra_serf : 通过 WebDAV 协议使用 serf 访问版本库的模块。  

  - 处理“http”方案  

  - 处理“https”方案  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu svn