Can't install ROS on NVIDIA JETSON TX2.

asked 2018-05-17 01:06:03 -0600

updated 2018-05-17 01:26:14 -0600

jayess gravatar image

Hai everyone,

I am trying to install ROS on TX2. I am following this tutorials. but when i run

sudo apt-get update

it gives this error

nvidia@tegra-ubuntu:~$ sudo apt-get update
Get:1 file:/var/cuda-repo-8-0-local  InRelease
Ign:1 file:/var/cuda-repo-8-0-local  InRelease
Get:2 file:/var/libopencv4tegra-repo  InRelease
Ign:2 file:/var/libopencv4tegra-repo  InRelease
Get:3 file:/var/nv-gie-repo-ga-cuda8.0-gie1.0-20170116  InRelease
Ign:3 file:/var/nv-gie-repo-ga-cuda8.0-gie1.0-20170116  InRelease
Get:4 file:/var/visionworks-repo  InRelease
Ign:4 file:/var/visionworks-repo  InRelease
Get:5 file:/var/visionworks-sfm-repo  InRelease
Ign:5 file:/var/visionworks-sfm-repo  InRelease
Get:6 file:/var/visionworks-tracking-repo  InRelease
Ign:6 file:/var/visionworks-tracking-repo  InRelease
Get:7 file:/var/cuda-repo-8-0-local  Release [574 B]
Get:8 file:/var/libopencv4tegra-repo  Release [347 B]
Get:9 file:/var/nv-gie-repo-ga-cuda8.0-gie1.0-20170116  Release [574 B]
Get:7 file:/var/cuda-repo-8-0-local  Release [574 B]
Get:10 file:/var/visionworks-repo  Release [1,999 B]
Get:11 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:8 file:/var/libopencv4tegra-repo  Release [347 B]
Get:12 file:/var/visionworks-tracking-repo  Release [2,008 B]
Get:9 file:/var/nv-gie-repo-ga-cuda8.0-gie1.0-20170116  Release [574 B]        
Get:13 file:/var/libopencv4tegra-repo  Release.gpg [181 B]                     
Get:10 file:/var/visionworks-repo  Release [1,999 B]                           
Get:14 file:/var/nv-gie-repo-ga-cuda8.0-gie1.0-20170116  Release.gpg [819 B]   
Get:11 file:/var/visionworks-sfm-repo  Release [2,003 B]                       
Get:12 file:/var/visionworks-tracking-repo  Release [2,008 B]                  
Get:13 file:/var/libopencv4tegra-repo  Release.gpg [181 B]                     
Get:14 file:/var/nv-gie-repo-ga-cuda8.0-gie1.0-20170116  Release.gpg [819 B]   
Get:16 http://packages.ros.org/ros/ubuntu xenial InRelease [4,040 B]           
Hit:18 http://ports.ubuntu.com/ubuntu-ports xenial InRelease                   
Get:19 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [107 kB]
Ign:13 file:/var/libopencv4tegra-repo  Release.gpg              
Hit:23 file:/var/libopencv4tegra-repo  Packages                 
Get:24 http://packages.ros.org/ros/ubuntu xenial/main arm64 Packages [572 kB]  
Err:24 http://packages.ros.org/ros/ubuntu xenial/main arm64 Packages
  Hash Sum mismatch
Fetched 800 kB in 3s (254 kB/s)    
Reading package lists... Done
W: GPG error: file:/var/libopencv4tegra-repo  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D88C3D385C37D3BE
W: The repository 'file:/var/libopencv4tegra-repo  Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_libopencv4tegra-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_nv-gie-repo-ga-cuda8.0-gie1.0-20170116_Release
E: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/main/binary-arm64/Packages.gz  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

and further

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

gives this error

nvidia@tegra-ubuntu:~$ sudo apt-get install ros-kinetic-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state ...
(more)
edit retag flag offensive close merge delete

Comments

1

Have you seen the tutorial from Jetsonhacks? Here's the GitHub repo for his tutorial on installing ROS on the TX2. I used it and it worked.

jayess gravatar imagejayess ( 2018-05-17 01:35:15 -0600 )edit
1

I second @jayess, for me the Jetsonhacks tutorial worked fine (followed it last week with success. Only difference is that I have been working with a TX1.

nathan gravatar imagenathan ( 2018-05-24 08:44:23 -0600 )edit