ROS Installation

Installation

rosdep update

Error Message:

Warning: running 'rosdep update' as root is not recommended.
  You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
  ERROR: error loading sources list:
          ('The read operation timed out',)
          reading in sources list data from /etc/ros/rosdep/sources.list.d
          Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
          Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
          Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
          Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
          Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
          Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
          Skip end-of-life distro "ardent"
          Skip end-of-life distro "bouncy"
          Skip end-of-life distro "crystal"
          Skip end-of-life distro "dashing"
          Skip end-of-life distro "eloquent"
          Add distro "foxy"
          ERROR: Service 'rdsslam' failed to build: The command '/bin/sh -c rosdep update' returned a non-zero code: 1
```

# References

- [rosdep update 超时失败2021最新解决方法](https://blog.csdn.net/Kenny_GuanHua/article/details/116845781)
comments powered by Disqus