问题
The following packages have unmet dependencies:
python-roslaunch : Depends: python-roslib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
方法
提示是这个包是破损的
我之前试过aptitude,降低版本,可惜文件包破损,降低版本失败
直接删除这个包
1.找到这个包的地址
locate python-roslib
‘locate’ not found
sudo apt install locate
2. 删除这个包
移动到步骤一的地址 /var/cache/apt/archives/
cd /var/cache/apt/archives/
删除
sudo rm -rf python-roslib
完成
roscore