ubuntu - 未满足的依赖项 - 无法安装 python-catkin-pkg

标签 ubuntu ros catkin

我正在尝试安装roslaunch但它说我需要安装roslib,然后说我需要安装catkin,它说我需要安装python-catkin-pkg。

我先调用source /opt/ros/kinetic/setup.bash对于我尝试安装的每个依赖项。当它到达 sudo apt-get install python-catkin-pkg它说 python-catkin-pkg 已经是最新版本(0.4.16-000)

于是我尝试用 sudo apt-get install catkin 安装 catkin终端返回消息: >Reading package lists... Done

Building dependency tree
Reading state information... Done 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. catkin : Depends: python-catkin-pkg but it is not going to be installed E: Unable to correct problems, you have held broken packages.



Screenshot of error messages

我是 ros 新手,刚刚在 VM 上安装了 ubuntu,我按照 ros wiki 的说明创建了一个 catkin 工作区和包,并从那里创建了一个名为 roslaunch 的文件夹,并在其中创建了一个名为 roslaunch.launch 的空文件是我试图运行的原始文件。谢谢

最佳答案

在执行时
sudo apt install catkin
它提出了以下建议:
以下包具有未满足的依赖项:
catkin :取决于:python3-catkin-pkg (>= 0.4.14-2) 但不会安装
E: 无法纠正问题,您持有破损的包裹。

关于ubuntu - 未满足的依赖项 - 无法安装 python-catkin-pkg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61148849/

相关文章:

ubuntu - 如何将ssh指向配置文件

c++ - 不在 C++ 程序中使用 libpq 检索 NOTIFY

ubuntu - 如何设置环境变量以使用 Qtcreator 运行 ROS 项目?

c++ - 尝试使用 rosserial-windows 连接到 ROS。 IP 地址错误

cmake - 基于catkin_tools的IDE打开项目

c++ - 如何在 ROS Indigo 下正确链接 opencv3(使用 CMake)?

c++ - 如何在 CMakeLists 中包含库 header

ubuntu - 从代码块打印后记 - 非常奇怪的输出

macos - 从 mac 到 ubuntu 的 ssh 转发不起作用

WSL2 中的 Apache 不像 localhost 那样工作