在运行刚刚安装的 Ubuntu 20.04.5 操作系统的计算机上, 我正在尝试安装一些软件包,特别是 ROS 框架。
运行
sudo apt install ros-noetic-desktop-full
后,我得到以下输出:
ros-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed
Depends: ros-noetic-perception but it is not going to be installed
Depends: ros-noetic-simulators but it is not going to be installed
Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我应该说,我第一次这样做时,我将软件下载的软件包服务器设置为“主服务器”,而不是自动分配的区域服务器,并将更新请求设置为“从不”,并收到消息
error while refreshing cache ubuntu pk-client-error-quark
我尝试使用 apt 命令修复损坏的依赖项,我用 google 搜索了问题和终端输出,但无法解决问题。
我在两台不同的机器上遇到了这个问题,当尝试在我的开发机器内使用“Boxes”的虚拟机进行复制时,我没有遇到同样的问题。
我还应该补充一点,无论如何我都不是 Linux 专家,而且我可能已经做过或正在做一些超出我能力范围的事情。但是,非常欢迎任何建议/解释。
致以诚挚的问候