rosdepc update常见错误及解决方案
-
@jingjumo sudo rosdepc init
-
ros1@DESKTOP-LAT9F3M:~$ sudo rosdepc init
欢迎使用国内版rosdep之rosdepc,我是作者小鱼!
欢迎关注公众号《鱼香ROS》加入交流群
小鱼rosdepc正式为您服务
--2023-08-14 10:07:28-- https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
正在解析主机 mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 101.6.15.130, 2402:f000:1:400::2
正在连接 mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443... 已连
接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 550 [application/octet-stream]
正在保存至: “/etc/ros/rosdep/sources.list.d/20-default.list”/etc/ros/rosdep/sources 100%[==============================>] 550 --.-KB/s 用时 0s
2023-08-14 10:07:31 (118 MB/s) - 已保存 “/etc/ros/rosdep/sources.list.d/20-default.list” [550/550])
小鱼提示:恭喜你完成初始化,快点使用
rosdepc update
更新吧
因为有一些小伙伴更新使用rosdep update,老是搞错,小鱼就直接帮你进行更新了!请稍等!reading in sources list data from /etc/ros/rosdep/sources.list.d
Warning: running 'rosdep update' as root is not recommended.
You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/base.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/python.yaml
ERROR: unable to process source [https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/ruby.yaml]:
<urlopen error [Errno 101] Network is unreachable> (https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/ruby.yaml)
Query rosdistro index https://mirrors.tuna.tsinghua.edu.cn/rosdistro/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"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Add distro "iron"
Skip end-of-life distro "jade"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Skip end-of-life distro "melodic"
Add distro "noetic"
ERROR: error loading sources list:
<urlopen error <urlopen error [Errno 101] Network is unreachable> (https://mirrors.tuna.tsinghua.edu.cn/rosdistro/noetic/distribution.yaml)>小鱼恭喜:rosdepc已为您完成更新!!
如果在上述更新中遇到错误,请查看rosdepc常见错误解决方案:https://fishros.org.cn/forum/topic/676
如果在使用过程中遇到任何问题,欢迎通过fishros.org.cn反馈,最后加入QQ交流群 686914208(入群口令:一键安装)
这样是安装成功了嘛
-
2 2624602124 在 中 引用了 这个主题
-
ros1@DESKTOP-LAT9F3M:~$ rosdepc update
欢迎使用国内版rosdep之rosdepc,我是作者小鱼!
欢迎关注公众号《鱼香ROS》加入交流群
小鱼rosdepc正式为您服务
reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
<urlopen error [Errno 101] Network is unreachable> (https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/base.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/python.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/ruby.yaml
Query rosdistro index https://mirrors.tuna.tsinghua.edu.cn/rosdistro/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"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Add distro "iron"
Skip end-of-life distro "jade"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Skip end-of-life distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/ros1/.ros/rosdep/sources.cache
ERROR: Not all sources were able to be updated.
[[[
ERROR: unable to process source [https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
<urlopen error [Errno 101] Network is unreachable> (https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
]]]小鱼恭喜:rosdepc已为您完成更新!!
如果在上述更新中遇到错误,请查看rosdepc常见错误解决方案:https://fishros.org.cn/forum/topic/676
如果在使用过程中遇到任何问题,欢迎通过fishros.org.cn反馈,最后加入QQ交流群 686914208(入群口令:一键安装)
-
2 2624602124 在 中 引用了 这个主题
-
-
@1530663414你好,请问这个是什么问题,运行rosdepc update 出现
-
请问下这个问题可能是什么原因,全网好像没看到过我这种错误 -
4 435763852 在 中 引用了 这个主题
-
@2624602124 你的问题最后解决了吗
-
@497505919 老哥,你的问题解决了吗,我也遇到了这个问题
-
大佬你好,我在使用resdepc update中报错如下:
kip end-of-life distro "groovy"
Add distro "humble"ERROR: Rosdep experienced an error: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'raspbian', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'conda', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora-asahi', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdeprosdep version: 0.23.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 146, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 450, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 459, in _no_args_handler
return command_handlerscommand
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 676, in command_update
quiet=options.quiet)
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 517, in update_sources_list
rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
File "/usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py", line 148, in get_gbprepo_as_rosdep_data
ctx = create_default_installer_context()
File "/usr/lib/python2.7/dist-packages/rosdep2/init.py", line 91, in create_default_installer_context
m.register_platforms(context)
File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/arch.py", line 53, in register_platforms
register_manjaro(context)
File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/arch.py", line 58, in register_manjaro
(os_name, os_version) = context.get_os_name_and_version()
File "/usr/lib/python2.7/dist-packages/rosdep2/installers.py", line 115, in get_os_name_and_version
os_name = self.os_detect.get_name()
File "/usr/lib/python2.7/dist-packages/rospkg/os_detect.py", line 638, in get_name
self.detect_os()
File "/usr/lib/python2.7/dist-packages/rospkg/os_detect.py", line 608, in detect_os
raise OsNotDetected("Could not detect OS, tried %s" % attempted)
OsNotDetected: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'raspbian', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'conda', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora-asahi', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']目前已经尝试了换源、本地编译等方法,但是都不能解决,并且尝试了rosdepc update --rosdistro=melodic仍然不能正常运行,我是ubuntu 1804的,应该是指令没有问题的
-
@2269810364 请问大佬有什么解决方法没有
-
大佬怎么解决这个问题啊@小鱼 -
-
@3360331610 大佬请问解决了吗
-
@2269810364 解决了吗
-
@490872561 我也是这个问题,现在问题解决了吗兄弟?
-
@小鱼那应该怎么解决呢?我是24版
-