repo: command not found

8,796 views
Skip to first unread message

HCM

unread,
Feb 10, 2010, 5:17:03 PM2/10/10
to Repo and Gerrit Discussion
Hi Ser

I install repo follow as website

Installing Repo
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir working-directory-name
$ cd working-directory-name
$ repo init -u git://android.git.kernel.org/platform/manifest.git


but the last command this error occur

No command 'repo' found, did you mean:
Command 'repl' from package 'nmh' (universe)
Command 'repl' from package 'mailutils-mh' (universe)
Command 'rep' from package 'librep9' (universe)
repo: command not found

Please help me what incorrect commad or the missed command?

Thanks for your support

Nicolas Sallembien

unread,
Feb 10, 2010, 5:21:45 PM2/10/10
to repo-d...@googlegroups.com
Are you sure "~/bin" is in your $PATH?

Thanks
Nico

> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en

HCM

unread,
Feb 10, 2010, 5:35:50 PM2/10/10
to Repo and Gerrit Discussion
Hi Nicolas

echo "export PATH=$PATH:/bin" >> /etc/bash.bashrc


i try this command. is it correct?

Shawn Pearce

unread,
Feb 10, 2010, 5:47:36 PM2/10/10
to repo-d...@googlegroups.com
HCM <duong...@gmail.com> wrote:
> echo "export PATH=$PATH:/bin" >> /etc/bash.bashrc

I think you meant:

echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc

and you also need to run that in your current shell:

export PATH=$PATH:$HOME/bin

Or, open a new shell so your updated ~/.bashrc can be read.

HCM

unread,
Feb 10, 2010, 6:08:47 PM2/10/10
to Repo and Gerrit Discussion
Hi Nicolas

>> echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
>>
>>and you also need to run that in your current shell:
>>
>> export PATH=$PATH:$HOME/bin

I had try this command.
this is good. but when getting repo this had error as below:

abc@ubuntu:~$ repo init -u git://android.git.kernel.org/platform/manifest.git
-b cupcake
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
remote: Counting objects: 962, done.
remote: Compressing objects: 100% (379/379), done.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

now, repo can not geeting?


Shawn Pearce

unread,
Feb 10, 2010, 6:15:51 PM2/10/10
to repo-d...@googlegroups.com
HCM <duong...@gmail.com> wrote:
> this is good. but when getting repo this had error as below:
>
> abc@ubuntu:~$ repo init -u git://android.git.kernel.org/platform/manifest.git
> -b cupcake
> Getting repo ...
> from git://android.git.kernel.org/tools/repo.git
> remote: Counting objects: 962, done.
> remote: Compressing objects: 100% (379/379), done.
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed

What does `git version` tell you?

What happens if you try it again? If the kernel.org server gets
too much traffic, it might abort downloads for some users.

Message has been deleted

HCM

unread,
Feb 10, 2010, 6:25:49 PM2/10/10
to Repo and Gerrit Discussion

Hi Shaw

> What does `git version` tell you?

> What happens if you try it again? If the kernel.org server gets
> too much traffic, it might abort downloads for some users.

Git version is 1.6.3.3
i already try again. but it same.
have you any other way to init Repo?
can you explain me?

Thanks

Reply all
Reply to author
Forward
0 new messages