1, error description:
ming@ming:~$ rosdep update
reading sources in the list data from/etc/ros/rosdep/sources list. D
ERROR: unable to process the source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml] :
& lt; urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
ERROR: Unable to process the source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml] :
& lt; urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
ERROR: unable to process the source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml] :
& lt; urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
ERROR: unable to process the source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml] :
& lt; urlopen error [Errno 111] Connection refused> (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
Add distro “ardent”
ERROR: ERROR loading sources list:
& lt; urlopen error < urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/ardent/distribution.yaml)>
solution:
sudo gedit /etc/resolv.conf
comments the old nameserver line, and adds the following two lines:
Nameserver 8.8.8.8 # Google nameserver
Nameserver 8.8.4.4 # Google nameserver
save exit, execute
sudo apt to get the update p>
and then
rosdep update
occurs:
is OK!
2. Error description:
Ming @ming:~$sudo rosdep init ERROR: default sources list file already exists:
/etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize
solution:
deletes the existing initialization file by issuing the following command:
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
and then rerun
sudo rosdep init
problem solved.
p>
Read More:
- Solution of unable to open source file “StdAfx. H” in vs2013 / 2012
- Solution to the problem of vs2017 error report unable to open source file
- IntelliSense: unable to open source file ‘StdAfx. H’
- Unable to open source file in vs
- Vs error prompt: “unable to open source file XXXX. H” possible reasons and Solutions
- How to solve the problem of “unable to open source file XXXXX. H” in VS development?
- IntelliSense in VC + + 2010: unable to open source file “StdAfx. H”
- Source code analysis of macOS startup process
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- [Python error] using PIP / easy under Windows_ Fail error in launcher: unable to create process using
- jupyter Fatal error in launcher: Unable to create process using
- Bug: unable to download source code in idea, error cannot download sources sources not found for:XXX
- Solution of vs unable to open source file and link library file
- (Copy python package, the problem generated) pip Fatal error in launcher: Unable to create process using
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- Browser prompt: Source mapping error: request failed with status 404 Source URL: http://xxx.js Source mapping URL: jquery.min.map
- Jstack command execution error: unable to open socket file: target process not responding or hotspot VM not loaded
- RuntimeError: Default process group has not been initialized, please make sure to call init_process_
- “Error! Reference source not found.” “error! Reference source not found solution to problem for
- ubuntu executes apt-get update and reports Failed to fetch/replace Ali source