0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jetson TX2 で ROS のインストールに失敗する

Posted at

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, restrictedなどがあるらしい.
こちらで詳しく解説されている.

ROS のインストール

sudo apt-get install ros-kinetic-desktop-full --fix-missing

--fix-missing のオプションを付けないと,インストールが最後まで完了しなかった.

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?