rosdep update出现以下错误:
ERROR: Rosdep experienced an error: Could not detect OS, tried [‘zorin’, ‘windows’, ‘nixos’, ‘clearlinux’, ‘ubuntu’, ‘slackware’, ‘rhel’, ‘qnx’, ‘pop’, ‘osx’, ‘sailfishos’, ‘tizen’, ‘opensuse’, ‘opensuse’, ‘opensuse’, ‘opensuse’, ‘openembedded’, ‘neon’, ‘mx’, ‘mint’, ‘linaro’, ‘gentoo’, ‘funtoo’, ‘freebsd’, ‘fedora’, ‘elementary’, ‘elementary’, ‘debian’, ‘cygwin’, ‘centos’, ‘manjaro’, ‘arch’, ‘alpine’]
解决方法:
1. 修改/etc/lsb-realse中DISTRIB_ID 为debian后保存,如下图:
![]()

2.然后运行rosdepc update就可以了。
解决rosdepupdate无法检测OS的问题,
当rosdepupdate遇到错误,无法检测到操作系统时,一种解决方法是将/etc/lsb-release中的DISTRIB_ID改为debian,保存后再运行rosdepupdate。这通常能修复识别OS的故障。
4182

被折叠的 条评论
为什么被折叠?



