Sorry for the post above, got it fixed now, had to add only "~/bin" to
my PATH. But now my Python makes problems :-\
ubu...@ubuntu:~$ repo init -u
git://android.git.kernel.org/platform/manifest.git
-b cupcake
Traceback (most recent call last):
File "/home/ubuntu/bin/repo", line 590, in <module>
main(sys.argv[1:])
File "/home/ubuntu/bin/repo", line 557, in main
_Init(args)
File "/home/ubuntu/bin/repo", line 176, in _Init
_CheckGitVersion()
File "/home/ubuntu/bin/repo", line 205, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1147, in
_execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Why?
On Jan 5, 11:35 am, Lennart Moltrecht <[email protected]> wrote:
> Ok sorry for asking again, but somehow it doesn't want to work. I
> downloaded curl and repo, and I think I also added it to the PATH
> variable, but still the terminal can't find the repo:
>
> This should do it, right? Or is the ~ symbol wrong when I add it to
> PATH?
>
> ubu...@ubuntu:~$ sudo apt-get install curl
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> curl
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 197kB of archives.
> After this operation, 311kB of additional disk space will be used.
> Get:1http://archive.ubuntu.comhardy/main curl 7.18.0-1ubuntu2
> [197kB]
> Fetched 197kB in 0s (246kB/s)
> Selecting previously deselected package curl.
> (Reading database ... 98223 files and directories currently
> installed.)
> Unpacking curl (from .../curl_7.18.0-1ubuntu2_i386.deb) ...
> Setting up curl (7.18.0-1ubuntu2) ...
> ubu...@ubuntu:~$ curlhttp://android.git.kernel.org/repo>~/bin/repo
> % Total % Received % Xferd Average Speed Time Time
> Time Current
> Dload Upload Total Spent
> Left Speed
> 100 16989 0 16989 0 0 22294 0 --:--:-- --:--:--
> --:--:-- 71556
> ubu...@ubuntu:~$ chmod a+x ~/bin/repo
> ubu...@ubuntu:~$ echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
> games
> ubu...@ubuntu:~$ export PATH=$PATH:~/bin/repo
> ubu...@ubuntu:~$ echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
> games:/home/ubuntu/bin/repo
>
> On Jan 5, 5:15 am, "Avtar Singh" <[email protected]> wrote:
>
> > > Thanks for the answer. How can I download it?
>
> > Check the link below- it should
> > do:http://source.android.com/download#TOC-Installing-Repo
>
> > Avtar
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---