setting repo fault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

setting repo fault

2,364 Views
zhangbaobing
Contributor II

.2 Setting up the repo utility
Repo is a tool built on top of Git that makes it easier to manage projects that contain multiple repositories, which do not need
to be on the same server. Repo complements very well the layered nature of the Yocto Project, making it easier for customers
to add their own layers to the BSP.
To install the “repo” utility, perform these steps:
1. Create a bin folder in the home directory.
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
2. Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.
export PATH=~/bin:$PATH

The second instruction is always wrong

as following

RX bytes:34541 (34.5 KB) TX bytes:34541 (34.5 KB)

topeet@ubuntu:~$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:06 --:--:-- 0curl: (7) Failed to connect to commondatastorage.googleapis.com port 80: Connection timed out
topeet@ubuntu:~$

0 Kudos
Reply
9 Replies

2,244 Views
zhangbaobing
Contributor II

I have changed 163 to tsinghua.

pastedImage_2.png

i have some questions to ask you ,

as downlows,this ''which whether  is sill reseved? 

pastedImage_3.png

0 Kudos
Reply

2,244 Views
radhikasomaiya
Senior Contributor II

HI  zhang baobing,

It seems like you have network connection problem at your place.

1. Make sure you can able to ping the server without any packet loss -

$ ping commondatastorage.googleapis.com
PING commondatastorage.googleapis.com (216.58.203.16) 56(84) bytes of data.

64 bytes from bom12s04-in-f16.1e100.net (216.58.203.16): icmp_seq=1 ttl=111 time=77.3 ms
64 bytes from bom12s04-in-f16.1e100.net (216.58.203.16): icmp_seq=2 ttl=111 time=73.2 ms
^C
--- commondatastorage.googleapis.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 73.292/75.319/77.347/2.045 ms
$

2. If ping fails then check your connectivity

3. If connectivity is ok, check with your administrator if they have mistakenly set any firewall rule to block.

Regards,

Radhika Somaiya

0 Kudos
Reply

2,244 Views
zhangbaobing
Contributor II

ok ,thanks ,but my net can not  ping commondatastorage.googleapis.com,

and then ,what do i can test my connetivity.

but i can ping baidu.com,so what can i do ?

pastedImage_1.png

0 Kudos
Reply

2,244 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You need to configure the proxy.

0 Kudos
Reply

2,244 Views
zhangbaobing
Contributor II

OK ,I try it soon

0 Kudos
Reply

2,244 Views
zhangbaobing
Contributor II

What can do i?

Can you  give me some instructions?

0 Kudos
Reply

2,244 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

If you cannot download the repo from google, please try this one:

Git Repo | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror 

0 Kudos
Reply

2,244 Views
zhangbaobing
Contributor II

  Ok,thanks

but I have a  question 

my ubuntu uses source of 163,so i want to know whether to chang to the source of 163?

0 Kudos
Reply

2,244 Views
zhangbaobing
Contributor II

or ,i will change my source of 163 to Tsinghua.

0 Kudos
Reply