您的位置 首页 Ubuntu

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

已遵循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

关于作者: dawei

【声明】:金华站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

热门文章