今天在使用SVN时,
$svn co http://www.soclib.fr/svn/trunk/soclib soclib
checkout出错,错误内容如上E120104: ra_serf: An error occurred during decompression。
一开始我以为是解压缩问题,捣腾了好久。。。。现在解决了,自己做个记录,也给出现了相同错误的同学一点帮助吧~~
后来根据错误查找,发现不是解压缩的问题,是SVN版本的问题。The issue is with the HTTP client libraries used by each version. 1.8.x is using serf, 1.6 is likely using neon by default.
因此,要将已安装的新版本的SVN替换为低版本的来操作,具体解决方法如下:
To install the older version while not screwing up the version in the /usr/local/lib:
mkdir oldsvn cd oldsvn sudo apt-get install libssl-dev wget http://mirrors.koehn.com/apache/subversion/subversion-1.7.18.tar.gz tar -xvf subversion-1.7.18.tar.gz cd subversion-1.7.18 ./get-dep.sh cd neon ./configure make sudo make install cd .. ./configure --with-prefix=/home/alvas/oldsvn/ --with-neon make sudo make install
To check that both versions exists:
$ cd /home/alvas/oldsvn/bin [email protected]:~/oldsvn/bin$ ./svn --version svn, version 1.7.18 (r1615261) [email protected]:~/oldsvn/bin$ svn --version svn, version 1.8.8 (r1568071)
And to checkout the repo:
[email protected]:~/oldsvn/bin$ ./svn co http://svn-rdlab.cs.upc.edu/subversion/asiya/public ~/asiya
我在这边http://stackoverflow.com/questions/21548042/cannot-svn-update-an-error-occurred-during-decompression/30438170#30438170也作了说明。
时间: 2024-11-25 06:59:23