2

我正在尝试从git.videolan.org克隆 vlc 媒体播放器的 git repo ,但即使我尝试了类似问题中提到的一些提示,

在尝试使用不同协议进行克隆时出现以下错误,它还是失败了:

gaurav@pruthi-linux:~/projects$ git clone git://git.videolan.org/vlc.git
Cloning into 'vlc'...
fatal: unable to connect to git.videolan.org:
git.videolan.org[0: 88.191.250.118]: errno=Connection timed out
git.videolan.org[1: 2a01:e0d:1:3:58bf:fa76:0:1]: errno=Network is unreachable

gaurav@pruthi-linux:~/projects$ git clone https://git.videolan.org/vlc.git
Cloning into 'vlc'...
fatal: https://git.videolan.org/vlc.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?

gaurav@pruthi-linux:~/projects$ git clone ssh://git.videolan.org/vlc.git
Cloning into 'vlc'...
ssh: connect to host git.videolan.org port 22: Network is unreachable
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

但是 git.videolan.org 是可以访问的

gaurav@pruthi-linux:~/projects$ ping git.videolan.org
PING albiero.videolan.org (88.191.250.118) 56(84) bytes of data.
64 bytes from albiero.videolan.org (88.191.250.118): icmp_req=1 ttl=45 time=301 ms
64 bytes from albiero.videolan.org (88.191.250.118): icmp_req=2 ttl=45 time=274 ms
64 bytes from albiero.videolan.org (88.191.250.118): icmp_req=3 ttl=45 time=260 ms
64 bytes from albiero.videolan.org (88.191.250.118): icmp_req=4 ttl=45 time=267 ms

--- albiero.videolan.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 260.338/275.904/301.349/15.557 ms
4

1 回答 1

2

它对我有用。可能产生了网络问题。重试。检查防火墙、代理等。反正下载速度很慢,而且 repo 很大,请耐心等待。

编辑:

根据官方Videolan wiki,有一个使用 HTTP 作为协议的官方 repo,尝试使用它,也许防火墙为此协议和端口打开:

git clone http://repo.or.cz/r/vlc.git
于 2013-11-06T09:29:05.613 回答