Hi Arun,
You are behind the proxy and I guess you cannot download with "git://
android.git.kernel.org/tools/repo.git" (from your log)

Steps:
1. repo init -u http://android.git.kernel.org/platform/manifest.git

After it will download some files and kept in .repo folder.
You need to update the following two files in your sync dir.

2. .repo/manifest.xml (line 2 - replace this line "git://
android.git.kernel.org" with "http://android.git.kernel.org";)
3. .repo/repo/repo (Line 5 - Replace this line with "git://
android.git.kernel.org/tools/repo.git" with "http://
android.git.kernel.org/tools/repo.git")

It means just you need to change "git" with "http" in the above two
places.

Hope it will download your source.
Thanks


On Jun 27, 10:01 am, Anil Babu <anilba...@gmail.com> wrote:
> Hi all
>
> I think you are behind the proxy server.
>
> Thanks
> anil
>
> On 6/25/10, R Arun <rarun...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> > I have tried to download the android source in my Ubuntu 9.04 (kernel
> > version 2.6.28-11-generic). I have followed the steps mentioned in the
> > site (http://source.android.com/source/download.html) to download. But
> > when i tried to initialize the 'repo' with the latest version of
> > repository using the command (repo init -u
> > git://android.git.kernel.org/platform/manifest.git),
> > i am getting the following error.
>
> > --------------------------------<Error Msg Snip
> > begin>--------------------------------------
>
> > r...@testpc-linux:~/bin/mydroid#repo init -u
> > git://android.git.kernel.org/platform/manifest.git
> > gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created
> > gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created
> > gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
> > gpg: key 920F5C65: public key "Repo Maintainer
> > <r...@android.kernel.org>" imported
> > gpg: Total number processed: 1
> > gpg:               imported: 1
>
> > Getting repo ...
> >    from git://android.git.kernel.org/tools/repo.git
> > android.git.kernel.org[0: 204.152.191.45]: errno=Connection timed out
> > android.git.kernel.org[0: 130.239.17.12]: errno=Connection timed out
> > android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed out
> > android.git.kernel.org[0: 199.6.1.176]: errno=Connection timed out
> > fatal: unable to connect a socket (Connection timed out)
> > r...@testpc-linux:~/bin/mydroid#
>
> > -----------------------------------<Snip
> > End>----------------------------------------------
>
> > I have pinged all the ip address shown in the error message, but it
> > fails. I would appreciate any help to resolve this problem.
>
> > FYI: The steps that i have followed to download the Android Source is
> > attached inline.
>
> > Thanks in advance,
> > Arun
>
> > Steps followed to download the Android source:
> > ======================================
>
> > 1. Install the Packages (Git, JDK, flex, bison, gperf, libsdl-dev,
> > libesd0-dev, libwxgtk2.6-dev, build-essential, zip, curl) using the
> > follwing command
> >       r...@testpc-linux:~# sudo apt-get install git-core gnupg sun-
> > java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev
> > build-essential zip curl libncurses5-dev zlib1g-dev
>
> > 2. Install Valgrind using the following command.
> >       r...@testpc-linux:~# sudo apt-get install valgrind
>
> > 3. Install Repo with the following commands.
> >       r...@testpc-linux:~# cd ~
> >       r...@testpc-linux:~# mkdir bin
> >       r...@testpc-linux:~# echo $PATH
> >       r...@testpc-linux:~# curlhttp://android.git.kernel.org/repo>~/
> > bin/repo
> >       r...@testpc-linux:~# chmod a+x ~/bin/repo
>
> > 4. Initialize a Repo client with the following commands
> >       r...@testpc-linux:~/bin# mkdir mydroid
> >       r...@testpc-linux:~/bin/mydroid# cd mydroid
> >       r...@testpc-linux:~/bin/mydroid# repo init -u
> > git://android.git.kernel.org/platform/manifest.git
> >            gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created
> >            gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created
> >            gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
> >            gpg: key 920F5C65: public key "Repo Maintainer
> > <r...@android.kernel.org>" imported
> >            gpg: Total number processed: 1
> >            gpg:               imported: 1
>
> >            Getting repo ...
> >               from git://android.git.kernel.org/tools/repo.git
> >            android.git.kernel.org[0: 204.152.191.45]: errno=Connection timed
> > out
> >            android.git.kernel.org[0: 130.239.17.12]: errno=Connection timed 
> > out
> >            android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed 
> > out
> >            android.git.kernel.org[0: 199.6.1.176]: errno=Connection timed 
> > out
> >            fatal: unable to connect a socket (Connection timed out)
> >       r...@testpc-linux:~/bin/mydroid#
>
> > --
> > unsubscribe: android-kernel+unsubscr...@googlegroups.com
> > website:http://groups.google.com/group/android-kernel
>
> --
> Thanks & Regards
>      Anil
>    9740402107

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to