编译其他时由于版本冲突卸载了一些库,发现ros不能用了,重装时报错:
sudo apt-get install ros-kinetic-desktopReading 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-kinetic-desktop : Depends: ros-kinetic-robot but it is not going to be installed
Depends: ros-kinetic-visualization-tutorials but it is not going to be installed
Depends: ros-kinetic-viz but it is not going to be installed
解决办法:
https://answers.ros.org/question/243920/how-to-install-ros-kinetic-ubuntu-1604/
我是执行了sudo apt-get purge '.*qt5*.'解决的该问题,
然后执行sudo apt-get install ros-kinetic-desktop不在报错。