zoukankan      html  css  js  c++  java
  • KUbuntu/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

    ~$ 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”方案

  • 相关阅读:
    选择器的用处
    全栈工程师基础知识与笔记
    9.13日笔记
    9.12笔记
    9.11Css
    学习笔记
    9.10HTLM
    redis和memcached的区别(总结)
    OO第四次博客作业
    OO第三次博客作业
  • 原文地址:https://www.cnblogs.com/lsf90/p/4093857.html
Copyright © 2011-2022 走看看