回购初始连接超时
问题描述:
我试图下载Android的源代码,CyanogenMod为了解更多关于自定义Android ROMs,我在新鲜安装的Linux Mint 11上,并且我已经正确设置了一切。现在,当我尝试使用回购从GitHub拉:回购初始连接超时
$ repo init -u http://github.com/CyanogenMod/android.git
我收到以下错误信息:
获得回购...
从混帐://android.git.kernel。组织/工具/ repo.git android.git.kernel.org [0:92.242.132.18]:错误号=连接超时
致命:无法连接的插座(连接超时)
谷歌搜索发现Ť他的答案是这是一个防火墙问题,系统无法连接到端口9418上的android.git.kernel.org。(我也尝试下载Android AOSP源代码)。但是,如何使系统连接到端口9418没有答案。请让我知道,我也是Linux的noob。
答
kernel.org
最近被黑客入侵。它仍然没有回来。 http://php.webtutor.pl/en/2011/09/05/kernel-org-hacked-how-to-get-android-repo/
答
我在这里有同样的问题。事实证明,该工具回购已过时。我注意到这个事实,因为我的磁盘上有这个文件的两个版本。我问系统如何链接到命令repo
。
$ which repo
~/bin/repo
复制新回购脚本到这个位置后,走了错误。
git clone http://github.com/CyanogenMod/android.git适合我 – njzk2