rosdep install --from-paths src --ignore-src -r -y
ERROR: the
following packages/stacks could not have their rosdep keys resolved to
system dependencies: gazebo_grasp_plugin: Cannot locate rosdep
definition for [catkin] Continuing to install resolvable
dependencies… executing command [sudo -H apt-get install -y
ros-humble-warehouse-ros-mongo] 正在读取软件包列表… 完成 正在分析软件包的依赖关系树… 完成
正在读取状态信息… 完成 E: 无法定位软件包
ros-humble-warehouse-ros-mongo ERROR: the following rosdeps failed to
install apt: command [sudo -H apt-get install -y
ros-humble-warehouse-ros-mongo] failed apt: Failed to detect
successful installation of [ros-humble-warehouse-ros-mongo]
遇到 “无法定位软件包” 的错误时,通常是因为缺少正确的ROS源或包未包含在当前的源列表中。以下是一些解决此问题的步骤:
- 确保ROS源已正确添加。
- 手动查找和安装缺失的依赖项。
- 确保使用正确的ROS和Ubuntu版本。
1. 安装缺失的依赖
运行 rosdep 命令时,你可以忽略无法解析的包(比如 catkin

最低0.47元/天 解锁文章
7769

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



