Hi,
i am trying to enlist the android source using the instructions given
at
http://source.android.com
i tried bunch of solutions posted on this forum.
1. make and entry in /etc/hosts to map with
android2.git.kernel.org
2. remove .repo file and download it again
3. try running repo init multiple times.
none of these options worked for me.
here is the console output for the command repo init -u
git://
android.git.kernel.org/platform/manifest.git
Getting repo ...
from git://
android.git.kernel.org/tools/repo.git
remote: Counting objects: 945, done.
remote: Compressing objects: 100% (372/372), done.
remote: Total 945 (delta 592), reused 894 (delta 553)
Receiving objects: 100% (945/945), 282.14 KiB | 11 KiB/s, done.
Resolving deltas: 100% (592/592), done.
From git://
android.git.kernel.org/tools/repo
* [new branch] master -> origin/master
* [new branch] stable -> origin/stable
* [new tag] v1.6.8.7 -> v1.6.8.7
From git://
android.git.kernel.org/tools/repo
* [new tag] v1.0 -> v1.0
* [new tag] v1.0.1 -> v1.0.1
* [new tag] v1.0.2 -> v1.0.2
* [new tag] v1.0.3 -> v1.0.3
* [new tag] v1.0.4 -> v1.0.4
* [new tag] v1.0.5 -> v1.0.5
* [new tag] v1.0.6 -> v1.0.6
* [new tag] v1.0.7 -> v1.0.7
* [new tag] v1.0.8 -> v1.0.8
* [new tag] v1.0.9 -> v1.0.9
* [new tag] v1.1 -> v1.1
* [new tag] v1.2 -> v1.2
* [new tag] v1.3 -> v1.3
* [new tag] v1.3.1 -> v1.3.1
* [new tag] v1.3.2 -> v1.3.2
* [new tag] v1.4 -> v1.4
* [new tag] v1.4.1 -> v1.4.1
* [new tag] v1.4.2 -> v1.4.2
* [new tag] v1.4.3 -> v1.4.3
* [new tag] v1.4.4 -> v1.4.4
* [new tag] v1.5 -> v1.5
* [new tag] v1.5.1 -> v1.5.1
* [new tag] v1.6 -> v1.6
* [new tag] v1.6.1 -> v1.6.1
* [new tag] v1.6.2 -> v1.6.2
* [new tag] v1.6.3 -> v1.6.3
* [new tag] v1.6.4 -> v1.6.4
* [new tag] v1.6.5 -> v1.6.5
* [new tag] v1.6.6 -> v1.6.6
* [new tag] v1.6.7 -> v1.6.7
* [new tag] v1.6.7.1 -> v1.6.7.1
* [new tag] v1.6.7.2 -> v1.6.7.2
* [new tag] v1.6.7.3 -> v1.6.7.3
* [new tag] v1.6.7.4 -> v1.6.7.4
* [new tag] v1.6.7.5 -> v1.6.7.5
* [new tag] v1.6.8 -> v1.6.8
* [new tag] v1.6.8.1 -> v1.6.8.1
* [new tag] v1.6.8.2 -> v1.6.8.2
* [new tag] v1.6.8.3 -> v1.6.8.3
* [new tag] v1.6.8.4 -> v1.6.8.4
* [new tag] v1.6.8.5 -> v1.6.8.5
* [new tag] v1.6.8.6 -> v1.6.8.6
Getting manifest ...
from git://
android.git.kernel.org/platform/manifest.git
fatal: The remote end hung up unexpectedly
fatal: cannot obtain manifest git://
android.git.kernel.org/platform/manifest.git
i tried running the same command without deleting the .repo directory
created by the earlier command.
repo init -u git://
android.git.kernel.org/platform/manifest.git
Traceback (most recent call last):
File "/home/nitin/android/.repo/repo/main.py", line 235, in <module>
_Main(sys.argv[1:])
File "/home/nitin/android/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)
File "/home/nitin/android/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)
File "/home/nitin/android/.repo/repo/subcmds/init.py", line 218, in
Execute
self._SyncManifest(opt)
File "/home/nitin/android/.repo/repo/subcmds/init.py", line 110, in
_SyncManifest
m.PreSync()
File "/home/nitin/android/.repo/repo/project.py", line 1440, in
PreSync
cb = self.CurrentBranch
File "/home/nitin/android/.repo/repo/project.py", line 271, in
CurrentBranch
b = self.work_git.GetHead()
File "/home/nitin/android/.repo/repo/project.py", line 1226, in
GetHead
fd = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/home/nitin/
android/.repo/manifests/.git/HEAD'