During the installation of ROS platform under Ubuntu 20.04 system, an error is reported during the initialization of rosdep
rosdep update
Super times error
reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: error loading sources list:
The read operation timed out
When you execute rosdep update according to the method in this article, there is still a timeout error, and you think of adding it directly in sources. List. D https://ghproxy.com/ Prefix, as follows:
Connect the mobile phone hotspot and open the terminal for execution
sudo vim /etc/ros/rosdep/sources.list.d/20-default.list
Modify list content
# os-specific listings first
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
# generic
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
gbpdistro https://ghproxy.com/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
Then run rosdep update to solve the problem.
ubuntu@ubuntu:~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://ghproxy.com/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"
Add distro "galactic"
Skip end-of-life distro "groovy"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/ubuntu/.ros/rosdep/sources.cache
Read More:
- [Solved] Error :: You must put some ‘source‘ URIs in your sources.list
- [Solved] xdd-plus-fetch qrcode error: Packet timed out,2-error: unknown flag
- [Solved] Node uploads files to FTP server error: timed out while making data connection
- Hadoop 3.2.0 idea development environment construction and HDFS read write API operation
- Error while loading error while loading shared libraries [How to Solve]
- Ubuntu found an error during apt operation [How to Solve]
- [Solved] ERROR: Command errored out with exit status 128: git clone -q
- error while loading shared libraries [How to Solve]
- C#: How to get the value or text value of the select drop-down list
- [Solved] gawk: error while loading shared libraries: libreadline.so.4
- [Solved] Apex Install Error: ERROR: Command errored out with exit status 1
- Git Error Resolution: errno:10054 Time out
- Error while loading shared libraries [How to Solve]
- error while loading shared libraries: libmetis.so [How to Solve]
- error while loading shared libraries: libz.so.1 [How to Solve]
- [Solved] error while loading shared libraries: libmysql.so.16
- CDH operation and maintenance: child node cloudera SCM agent starts Error
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- [Solved] ××: error while loading shared libraries: ××.so.19: cannot open shared object file: No such file or directory
- Read and write BMP image with Pure C language