ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have found a anwser. https://blog.csdn.net/u013468614/article/details/102917569
2 | No.2 Revision |
I have found a anwser. https://blog.csdn.net/u013468614/article/details/102917569
Now, I place my solution here:
1.make a new directory and navigate to it, then create a new document.
$ sudo mkidr -p /etc/ros/rosdep/sources.list.d
$ cd /etc/ros/rosdep/sources.list.d
$ sudo gedit 20-default.list
2. go to the link https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
3. copy the contents from the link to the 20-default.list
. which may like this:
# os-specific listings first
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
# generic
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte
# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro
index.yaml instead
4. replace the all the raw.githubusercontent.com
to raw.github.com
in 20-default.list
document, then save and close it.
5. run rosdep update