Android开源工程官方网站http://android.git.kernel.org/不能访问,打开后出现“Nothing to see here - only dreams of electric sheep“页面。
使用git clone git://android.git.kernel.org/kernel/common.git下载出现问题,如下:Initialized empty Git repository in /home/liuyangping/android/kernel/common/.git/
android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)是该网站不能访问,那我该到哪个网站上去下载,有成功下载的么,给个地址,万分感谢!
使用git clone git://android.git.kernel.org/kernel/common.git下载出现问题,如下:Initialized empty Git repository in /home/liuyangping/android/kernel/common/.git/
android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)是该网站不能访问,那我该到哪个网站上去下载,有成功下载的么,给个地址,万分感谢!
这是我错误信息:
./repo init -u http://android.kit.kernel.org/platform/manifest.git -b gingerbread
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)
errno=Connection refused
repo init -u http://android.kit.kernel.org/platform/manifest.git -b gingerbread
应该是git而不是kit
你再试一下
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y.git kernel_imx
就是android的搞不下来,郁闷
分类: Android 2011-03-24 15:35 227人阅读 评论(0) 收藏 举报
下载Android源码是比较简单的事情,我在自己家的电脑上轻松搞定。具体下载步骤此处略去不表,详细步骤请参考Android官网的《Get Android Source Code》一章。 参考网址:http://source.android.com/source/download.html
然而奇怪的是,我在公司的电脑上怎么也下载不下来。我的环境是Windows7下使用VirtualBox虚拟出来的x64 Ubuntu 10.10。当我执行到下面一步时,错误发生了: $ repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread
repo报告的错误内容大概是: connected time out ... ... fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known) 很显然,Repo找不不到android.git.kernel.org服务器!!!!!
然而有三件事情让我觉得这事实在是诡异万分:
第一、我的Win7系统和Ubuntu系统,使用网页浏览器都能访问网址 http://android.git.kernel.org 第二、我所在的项目组有一另外一台机器,装的是x64bit Ubuntu10.10系统,它能成功的下载Android源Source (之前我一直是依靠它来下载Source的)。
第三、我尝试过不使用VirtualBox虚拟Ubuntu系统,而是直接装双系统:Win7 + 32bit Ubuntu 10.04。但仍然出现相同的错误。
我苦思敏想中.......
只剩下一种可能了,我机器的9418端口被封掉了。
因为公司出于各种原因考虑,给我们开的端口非常有限,记得上次为了调查实现gmail邮箱需要用到SSH这玩意儿,特地向网管申请开了SSH的端口的.......
我信心十足的去找网管。果然,我项目组那台机器端口比我的机器的端口开的要多啊!只好请网管帮忙开一下9418端口。
然而,回来一试,我便再次绝望了,脑细胞死了一个军团的数量,error依旧向我笑啊......Repo依然是connected time out! 我苦思敏想中.......
这时我想到了一点:9418的端口没戏了,但是不是还有http的80端口吗?死马当成活马医吧:
Step 1. 编辑 /home/username/bin/repo文件 - REPO_URL='git://android.git.kernel.org/tools/repo.git' + REPO_URL='http://android.git.kernel.org/tools/repo.git'
Step 2. 运行新的命令 $ repo init -u http://android.git.kernel.org/platform/manifest.git -b gingerbread
Step 3. 修改文件.repo/manifests/default.xml 将 fetch="git://android.git.kernel.org/" 改成fetch="http://android.git.kernel.org/"
Step 4. 运行命令 repo sync
搞定!!!
repo init-u http://android.git.kernel.org/platform/manifest.git把原来的git 改成http即可。
Fetching projects: 1% (2/172) android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
android.git.kernel.org[0: 149.20.4.77]: errno=Connection timed out
android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)
error: Cannot fetch platform/bionic
http://php.webtutor.pl/en/2011/09/01/kernel-org-has-been-hacked/
Kernel.org has been hacked… Google requested to take android repo offline.This hack was discovered on August 28th. Currently all kernel.org boxes are offline to do a backup and are in the process of doing complete reinstalls.How the hackers managed to gain root access is currently unknown and is being investigated. The maintainers of kernel.org are in the process of doing an analysis on the code within git, and the tarballs to confirm that nothing has been modified.Until then, say goodbye to the Android repository:
http://www.kernel.org/Security breach on kernel.org
Earlier this month, a number of servers in the kernel.org infrastructure were compromised. We discovered this August 28th. While we currently believe that the source code repositories were unaffected, we are in the process of verifying this and taking steps to enhance security across the kernel.org infrastructure.
What happened?
Intruders gained root access on the server Hera. We believe they may have gained this access via a compromised user credential; how they managed to exploit that to root access is currently unknown and is being investigated.
Files belonging to ssh (openssh, openssh-server and openssh-clients) were modified and running live.
A trojan startup file was added to the system start up scripts
User interactions were logged, as well as some exploit code. We have retained this for now.
Trojan initially discovered due to the Xnest /dev/mem error message w/o Xnest installed; have been seen on other systems. It is unclear if systems that exhibit this message are susceptible, compromised or not. If developers see this, and you don't have Xnest installed, please investigate.
It *appears* that 3.1-rc2 might have blocked the exploit injector, we don't know if this is intentional or a side affect of another bugfix or change.
What Has Been Done so far:
We have currently taken boxes off line to do a backup and are in the process of doing complete reinstalls.
We have notified authorities in the United States and in Europe to assist with the investigation
We will be doing a full reinstall on all boxes on kernel.org
We are in the process of doing an analysis on the code within git, and the tarballs to confirm that nothing has been modified
补充下:
REPO_URL='http://android.git.kernel.org/tools/repo.git'改为:
REPO_URL='git://codeaurora.org/tools/repo.git'因为 android.git.kernel.org 被封了
repo init -u http://android.git.kernel.org/platfm/manifest.git -b gingerbread
而且REPO_URL='git://codeaurora.org/tools/repo.git',却还是不能下载,就是没反映啊
还是下不了,怎么办。android.git.kernel.org 服务器还是挂着的,怎么办
git clone git://android.git.kernel.org/kernel/common.git
出现以下错误
Initialized empty Git repository in /home/dou/android/kernel/common/.git/
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)