我正在尝试在ubuntu18.04上安装ros melodic,按照此页面中的说明http://wiki.ros.org/melodic/Installation/Ubuntu,当我使用此命令sudo apt install ros-melodic-desktop-full时,我得到以下信息
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:
ros-melodic-desktop-full : Depends: ros-melodic-desktop but it is not going to be installed
Depends: ros-melodic-perception but it is not going to be installed
Depends: ros-melodic-simulators but it is not going to be installed
Depends: ros-melodic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.我试着安装ros-melodic- keeps,但它总是给我提示依赖错误信息。有什么需要帮忙的吗?
发布于 2020-12-14 20:03:31
sudo apt-get autoremove如果这不起作用,那么只需重新安装ubuntu即可。这是解决这些问题的一种更快的方法。
https://stackoverflow.com/questions/64083428
复制相似问题