2011-01-08 81 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