【发布时间】:2020-01-21 19:12:27
【问题描述】:
我正在运行 Ubuntu 18.04 并尝试在我的机器上首次安装 ROS。我已尝试按照以下说明进行操作:http://wiki.ros.org/melodic/Installation/Ubuntu
我在这部分卡住了。
sudo apt-get install ros-melodic-desktop-full
我的尝试:
sudo apt -f install
sudo apt update --fix-missing
sudo dpkg --configure -a
sudo dpkg --remove --force-remove--reinstreq
sudo apt clean
sudo apt update
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
到目前为止没有任何效果。
终端命令:
$sudo apt-get install ros-melodic-desktop-full
Reading package lists… Finished
Builds dependency trees
Reading state information ... Finished
Some packages could not be installed. It may mean that you have requested
an impossible situation or, if you use the unstable distribution
that some necessary packages have not yet been created or moved
from "Incoming".
The following information may help to resolve the situation:
The following packages have dependencies that cannot be satisfied:
rose-melodic-desktop-full: Dependent on: rose-melodic-desktop but it will not be installed
Depending on: rose-melodic-perception but it will not be installed
Depending on: rose-melodic-simulators but it will not be installed
Depending on: ros-melodic-urdf-sim-tutorial but it will not be installed
E: Could not correct the problems, you have withheld broken packages.
请帮我安装ROS
【问题讨论】:
-
这就是我的答案:使用aptitude
标签: ubuntu-18.04 ros