ERROR: cannot download default sources list from when installing ROS on ubuntu18.04

Problem Description

The ROS operating system is being configured recently. In the input command:

sudo rosdep init

The following error occurred:
Insert picture description here
Here are my operational procedures and solutions.

Solution

The author refers to the ROS installation performed by the Gu Yueju course at Station B. If you want to get started with ROS, you can also refer to this course. The specific configuration process is not the same as that in the course. Refer to the official ROS installation tutorial. The link is as follows :

http://wiki.ros.org/melodic/Installation/Ubuntu

You can also take a look at the installation process of Gu Yueju first to get a general understanding of ROS installation.
Refer to the process in the above link, I have a problem in the above steps.
I mainly refer to these two articles:

https://blog.csdn.net/qq_44830040/article/details/106049992

https://blog.csdn.net/weixin_43288910/article/details/105627358?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2.control

Combining the two articles, I used the searched IP to write the document mentioned in the link. In theory, it should work well, but it is still the same bug.
At this time, I remembered that some articles mentioned replacing wifi. After testing, the campus network and my mobile phone network are not working, but the network that is normally opened in the laboratory can be used.
I hope my debugging experience can help everyone.

Guess you like

Origin blog.csdn.net/qq_41883714/article/details/111241721