2011-01-08 118 views
1

我在Ubuntu上,并试图克隆一些包关闭arago-project.org 但是,我似乎无法做到这一点。我的笔记本电脑通过WiFi连接到家庭无线路由器。如何在没有代理的情况下克隆克隆?

[email protected]:~/oe$ git clone git://arago-project.org/git/arago.git 
Initialized empty Git repository in /home/carson/oe/arago/.git/ 

这之后,只是什么也不做......

一些谷歌上搜索发现,一些人使用代理。但是,这真的有必要吗?如果是这样,那么我使用哪种代理?

更新:等待更长的时间和得到这个错误

[email protected]:~/oe$ git clone git://arago-project.org/git/arago.git 
Initialized empty Git repository in /home/carson/oe/arago/.git/ 
2011/01/09 10:00:14 socat[4024] E connect(3, AF=2 150.229.98.44:8080, 16): Connection timed out 
fatal: The remote end hung up unexpectedly 
[email protected]:~/oe$ 
+0

尝试在问题中指定错误消息。 – 2011-01-08 22:19:31

+0

你确定你不只是有某种网络问题?这也适用于我,超时是超时。 – Cascabel 2011-01-09 01:22:11

回答

0

我能没有问题克隆,相同的WiFi形势下。
你使用的是什么版本的Git?

Waffles:~ clint$ git --version 
git version 1.7.3.4 

Waffles:~ clint$ git clone git://arago-project.org/git/arago.git 
Cloning into arago... 
remote: Counting objects: 10763, done. 
remote: Compressing objects: 100% (8624/8624), done. 
remote: Total 10763 (delta 7052), reused 3038 (delta 1808) 
Receiving objects: 100% (10763/10763), 7.83 MiB | 740 KiB/s, done. 
Resolving deltas: 100% (7052/7052), done. 

http://arago-project.org/wiki/index.php/Proxy_Settings 这对于阿拉戈项目wiki页面提到设立代理设置,你试试这个?

+0

我的git版本是1.7.0.4,但我不知道如何更新它。我尝试通过apt-get更新git-core,但git版本不会更改为1.7.3.4 – cksa361 2011-01-08 22:59:23

5

您正尝试使用git协议进行克隆。默认情况下,git协议在TCP端口9418上运行,并且您正在克隆arago-project.org。因此,我们期望在端口9418上看到与IP地址184.73.161.183的连接。

但是,您的错误消息会向150.229.12.128端口8080报告错误。这可能是某种在www上运行的代理。 csiro.au。你必须调查一下你的事情,看看你是否可以避开这个代理。

如果你不能,也许你可以通过HTTP克隆。它不像git协议那么高效,但是如果应该完成这项工作。刚刚运行:git clone http://arago-project.org/git/arago.git