gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 18:34:54 50 4
gpt4 key购买 nike

我正在尝试安装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/

50 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com