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

来源:互联网 发布:java 文件生成md5码 编辑:程序博客网 时间:2024/06/16 13:17

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

~$ svn --versionsvn,版本 1.7.9 (r1462340)   编译于 Oct 15 2013,12:40:34Copyright (C) 2013 The Apache Software Foundation.This software consists of contributions made by many people; see the NOTICEfile 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”方案


0 0
原创粉丝点击