sudo apt install ros-melodic-desktop-full에서 설치되지 않을 때 해결
https://answers.ros.org/question/282399/sudo-apt-get-install-ros-indigo-desktop-full-e-unable-to-correct-problems-you-have-held-broken-packages/
위의 글은 indigo이지만 버전만 다를 뿐 나와 같은 오류가 났다.
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-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed
Depends: ros-indigo-simulators but it is not going to be installed
Depends: ros-indigo-urdf-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install aptitude
sudo aptitude install ros-<package>-desktop-full
위 두 줄을 이용하여 해결되었다.
댓글
댓글 쓰기