Jetson TX2에서 ROS 설치 실패

Jetson TX2에서 ROS 설치 실패

2022-10-03 last update

5 minutes reading Jetson ROS ubuntu16.04
Jetson TX2에서 ROS를 설치하지 못했으므로 솔루션을 요약합니다.

환경



Jetson TX2/JetPack 3.3.1/Ubuntu 16.04

문제



Jetson에서 ROS 공식 wiki에 따라 설치할 때 막혔습니다.
sudo apt-get install ros-kinetic-desktop-full

다음 오류 메시지가 다음과 같습니다.
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-kinetic-desktop-full : Depends: ros-kinetic-desktop but it is not going to be installed
                            Depends: ros-kinetic-perception but it is not going to be installed
                            Depends: ros-kinetic-simulators but it is not going to be installed
                            Depends: ros-kinetic-urdf-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

시도한 것


sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

이것으로도 결과는 변함없이 ...

할 일 (해결 색)



패키지 추가


sudo apt-add-repository universe
sudo apt-add-repository multiverse
sudo apt-add-repository restricted
sudo apt update

Ubuntu의 패키지는 main 이외에 이번에 추가한 universe , multiverse 여기에 자세히 설명되어 있습니다.

ROS 설치


sudo apt-get install ros-kinetic-desktop-full --fix-missing
restricted 옵션이 없으면 설치가 끝날 때까지 완료되지 않았습니다.

참고문헌


  • ROS installation on Jetson TX2 is failed
  • 우분투 패키지 관리 노트