加入收藏 | 设为首页 | 会员中心 | 我要投稿 商洛站长网 (https://www.0914zz.com/)- AI应用、CDN、边缘计算、云计算、物联网!
当前位置: 首页 > 综合聚焦 > Ubuntu > 正文

ubuntu-16.04 C ROS安装错误(Ubuntu 16.04中的ROS动能)

发布时间:2023-12-14 09:16:58 所属栏目:Ubuntu 来源:DaWei
导读: 已遵循http://wiki.ros.org/kinetic/Installat中列出的步骤序列. (尝试在Ubuntu 16.04中安装ROS kinetic)输入以下命令时出错:


$sudo apt-get install ros-kinetic-desktop-full

已遵循http://wiki.ros.org/kinetic/Installat中列出的步骤序列. (尝试在Ubuntu 16.04中安装ROS kinetic)输入以下命令时出错: $sudo apt-get install ros-kinetic-desktop-full

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ros-kinetic-desktop-full : Depends: ros-kinetic-desktop but it is not going to be installed Depends: ros-kinetic-perception but it is not going to be installed Depends: ros-kinetic-simulators but it is not going to be installed Depends: ros-kinetic-urdf-tutorial but it is not going to be installed E: Unable to correct problems,you have held broken packages.

我有同样的问题因为我在ROS之前安装了Gazebo.
如果你做了同样的事情,那么你可能会遇到这个错误.

您只需卸载Gazebo及其依赖项,然后尝试安装完整版本的ROS. Gazebo通常包含在ROS的完整版本中.如果它没有包含在您的版本中,那么在安装ROS之后,您可以安装Gazebo.

删除凉亭:

sudo apt-get remove gazebo9

“gazebo9”必须替换为您的Gazebo版本.

然后删除其依赖项

sudo apt-get autoremove

此命令将删除所有不必要的依赖项.之后,使用官方文档安装ROS.希望这会帮助你.

Note: ROS full versions comes with Gazebo

(编辑:商洛站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章