编译 catkin_ws 时出现 gazebo_ros_package 和错误 libaria2v5_2.8.0+repack-1ubuntu2_amd64 未安装

编译 catkin_ws 时出现 gazebo_ros_package 和错误 libaria2v5_2.8.0+repack-1ubuntu2_amd64 未安装

打扰一下!

我刚刚安装gazebo_ros_pkgs,然后我编译Catkin_workspacecatkin_make出现错误:
libaria2v5_2.8.0+repack-1ubuntu2_amd64 is not installed.

顶部栏上现在有一个带有减号的小红圆圈。当我单击它时,它会打开一个带有消息的框:

An error occurred, please run Package Manager from the right-click from the right click window or apt-get in a terminal to see what is wrong. 
The error message was:'Error: BrokenCount >0'. 
This usually means that your installed packages have unmet dependencies.

我使用的是 Ubuntu 16.04 LTS (Xenial) 和 Ros Kinetic。我的电脑运行双启动 ubuntu 和 win 10 home。

希望你能帮助我!

太感谢了!

答案1

因此,我通过以下代码修复了该错误:

sudo dpkg --force-all -i /var/cache/apt/archives/libaria2v5_2.8.0+repack-1ubuntu2_amd64.deb

希望有帮助!

答案2

所以,我刚刚想到了一个解决错误的想法,即“catkin_ws未用...编译catkin_make”。ros_control 未包含在内gazebo_ros_pkgs就是原因之一。

当你尝试的时候这会很有趣git clone https://github.com/ros-controls/ros_control.git

相关内容