我正在尝试从 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
答案 0 :(得分:2)
它对我有用。可能产生了网络问题。再试一次。检查防火墙,代理等。无论如何,下载速度非常慢,回购非常大,请耐心等待。
编辑:
根据官方Videolan wiki,有一个正式的回购使用HTTP作为协议,尝试使用它,也许防火墙是为这个协议和端口打开的:
git clone http://repo.or.cz/r/vlc.git