在 Debian Squeeze 上将 SVN 更新至 1.7

在 Debian Squeeze 上将 SVN 更新至 1.7

我尝试用 1.7 更新我的 Subversion Client 和 Squeeze。因此我扩展了“/etc/apt/sources.list”,并添加了

deb http://opensource.wandisco.com/debian/ squeeze svn17

下载密钥来自http://opensource.wandisco.com/wandisco-debian.gpg并将其添加到“apt-key”。

但是如果我现在运行“apt-get update”,我会收到一些连接错误:

Get:1 http://opensource.wandisco.com squeeze Release.gpg [197 B]
Err http://opensource.wandisco.com/debian/ squeeze/svn17 Translation-en
  Connection failed
Err http://opensource.wandisco.com/debian/ squeeze/svn17 Translation-en_US
  Connection failed
Get:2 http://opensource.wandisco.com squeeze Release [2,693 B]
Ign http://opensource.wandisco.com squeeze/svn17 amd64 Packages
Err http://opensource.wandisco.com squeeze/svn17 amd64 Packages
  Connection failed
Fetched 2,890 B in 2s (1,269 B/s)
W: Failed to fetch http://opensource.wandisco.com/debian/dists/squeeze/svn17/i18n/Translation-en.bz2      Connection failed

W: Failed to fetch http://opensource.wandisco.com/debian/dists/squeeze/svn17/i18n/Translation-en_US.bz2  Connection failed

W: Failed to fetch http://opensource.wandisco.com/debian/dists/squeeze/svn17/binary-amd64/Packages.gz  Connection failed

E: Some index files failed to download, they have been ignored, or old ones used instead.

正如预期的那样,数据库没有得到任何更新,我无法升级 SVN 客户端。

如果我手动浏览http://opensource.wandisco.com/debian/dists/squeeze/svn17一切似乎都已准备就绪。

更新为何失败?

答案1

这个简单的步骤使得它:


root@squeeze:~# wget -O - http://opensource.wandisco.com/wandisco-debian.gpg | apt-key add -
root@squeeze:~# apt-key list
pub   1024D/3BBF077A 2010-02-18
uid                  WANdisco (http://WANdisco.com - We Make Software Happen...) 
sub   2048g/955DA6AA 2010-02-18
root@squeeze:~# aptitude update && aptitude install subversion
root@squeeze:~# svn --version
svn, version 1.7.9 (r1462340)
   compiled Apr 25 2013, 14:44: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/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

所以,对我有用(TM)。

相关内容