Noetic安装

错误The following packages have unmet dependencies

  • 在安装前不要改动Ubuntu的Software & Updates里的选项,否则会出现错误The following packages have unmet dependencies
    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-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.
    
    解决方案:在Show Applications中选择Software & Updates,修改,并且退出使得其更新(Reload),再执行安装
项目选中项
Subscribe toAll updates
Automatically check for updatesDaily
When there are security updatesDisplay immediatly
When there are other updatesDisplay immediatly
Notify me of a new Ubuntu vewrsionFor any new version
我也不知道是哪个影响了结果

添加devel

  • 在安装完成后,在.bashrc中添加
source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash