Trouble installing JetPack 2.3 on new TX-1

Hi -

I think I’m following the instructions. I’m using a brand new TX-1 and I’m trying to load JetPack 2.3 onto it. I may have run an ‘apt-get update’ on the TX-1 when it first arrived - but no other changes. It’s connected via ethernet to the same hub that my Ubuntu host machine is using. It appears that the package libraries have gotten confused & I’d appreciate any help getting this machine going. Thanks.

Sean

From the ‘Post Processing’ window:

Copying cuda-repo-l4t-8-0-local_8.0.34-1_arm64.deb file to target...
ubuntu: 
(Reading database ... 130132 files and directories currently installed.)
Preparing to unpack .../cuda-repo-l4t-8-0-local_8.0.34-1_arm64.deb ...
Unpacking cuda-repo-l4t-8-0-local (8.0.34-1) over (8.0.34-1) ...
Setting up cuda-repo-l4t-8-0-local (8.0.34-1) ...
OK
Ign file:  InRelease
Get:1 file:  Release.gpg [181 B]
Get:2 file:  Release [574 B]                                                   
Ign file:  Translation-en_US                                                 
Ign file:  Translation-en                                               
Ign http://ports.ubuntu.com trusty InRelease                            
Get:3 http://ports.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://ports.ubuntu.com trusty-security InRelease
Hit http://ports.ubuntu.com trusty Release.gpg     
Get:4 http://ports.ubuntu.com trusty-updates/main Sources [383 kB]
Get:5 http://ports.ubuntu.com trusty-updates/restricted Sources [5,360 B]
Get:6 http://ports.ubuntu.com trusty-updates/universe Sources [166 kB]
Get:7 http://ports.ubuntu.com trusty-updates/multiverse Sources [7,520 B]
Get:8 http://ports.ubuntu.com trusty-updates/main armhf Packages [789 kB]
Get:9 http://ports.ubuntu.com trusty-updates/restricted armhf Packages [8,421 B]
Get:10 http://ports.ubuntu.com trusty-updates/universe armhf Packages [367 kB]
Get:11 http://ports.ubuntu.com trusty-updates/multiverse armhf Packages [11.0 kB]
Get:12 http://ports.ubuntu.com trusty-updates/main Translation-en [439 kB]
Get:13 http://ports.ubuntu.com trusty-updates/multiverse Translation-en [7,931 B]
Get:14 http://ports.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
Get:15 http://ports.ubuntu.com trusty-updates/universe Translation-en [199 kB]
Hit http://ports.ubuntu.com trusty-security/main Sources               
Hit http://ports.ubuntu.com trusty-security/restricted Sources           
Hit http://ports.ubuntu.com trusty-security/universe Sources              
Hit http://ports.ubuntu.com trusty-security/multiverse Sources                 
Hit http://ports.ubuntu.com trusty-security/main armhf Packages                
Hit http://ports.ubuntu.com trusty-security/restricted armhf Packages          
Hit http://ports.ubuntu.com trusty-security/universe armhf Packages            
Hit http://ports.ubuntu.com trusty-security/multiverse armhf Packages          
Hit http://ports.ubuntu.com trusty-security/main Translation-en                
Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en          
Hit http://ports.ubuntu.com trusty-security/restricted Translation-en          
Hit http://ports.ubuntu.com trusty-security/universe Translation-en            
Hit http://ports.ubuntu.com trusty Release                                     
Hit http://ports.ubuntu.com trusty/main Sources                                
Hit http://ports.ubuntu.com trusty/restricted Sources                          
Hit http://ports.ubuntu.com trusty/universe Sources                            
Hit http://ports.ubuntu.com trusty/multiverse Sources                          
Hit http://ports.ubuntu.com trusty/main armhf Packages                         
Hit http://ports.ubuntu.com trusty/restricted armhf Packages                   
Hit http://ports.ubuntu.com trusty/universe armhf Packages                     
Hit http://ports.ubuntu.com trusty/multiverse armhf Packages                   
Hit http://ports.ubuntu.com trusty/main Translation-en                         
Hit http://ports.ubuntu.com trusty/multiverse Translation-en                   
Hit http://ports.ubuntu.com trusty/restricted Translation-en                   
Hit http://ports.ubuntu.com trusty/universe Translation-en                     
Ign http://ports.ubuntu.com trusty/main Translation-en_US                      
Ign http://ports.ubuntu.com trusty/multiverse Translation-en_US                
Ign http://ports.ubuntu.com trusty/restricted Translation-en_US                
Ign http://ports.ubuntu.com trusty/universe Translation-en_US                  
Fetched 2,453 kB in 11s (205 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Connection to 192.168.1.9 closed.
dpkg-query: package 'cuda-toolkit-8-0' is not installed and no information is available
dpkg-query: package 'libfreeimage-dev' is not installed and no information is available
dpkg-query: package 'libopenmpi-dev' is not installed and no information is available
dpkg-query: package 'openmpi-bin' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
1
Error: CUDA cannot be installed on device. This may be caused by other apt-get command running on device when installing CUDA. Please use apt-get command in a terminal to make sure following packages are installed correctly on device before continuing:
cuda-toolkit-8-0 libgomp1 libfreeimage-dev libopenmpi-dev openmpi-bin
After these packages are installed on device, press Enter key to continue

On the TX-1:

ubuntu@tegra-ubuntu:~/cuda-l4t$ cat cuda_l4t_error.log 
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (arm64) does not match system (armhf)

Configuration file `/etc/apt/sources.list.d/cuda-8-0-local.list', does not exist on system.
Installing new config file as you requested.
E: Unable to locate package cuda-toolkit-8-0
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (arm64) does not match system (armhf)
E: Unable to locate package cuda-toolkit-8-0
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (arm64) does not match system (armhf)
E: Unable to locate package cuda-toolkit-8-0

So - somewhere the wrong repository was loaded?

Hm.

I just tried this with a VirtualBox and a new Ubuntu installation - and had the same result. In Post Processing the connection drops; on the TX-1 it looks like there is some problem with loading cuda-toolkit-8-0.

Not sure what else to try. If two different machines (one a Ubuntu 14.04 laptop, the other a MacBook running Ubuntu in a VirtualBox) have exactly the same failure mode - perhaps the problem is with the TX-1. Is there any way to re-initialize it to the factory starting state?

Thanks

Hi Sean,

The new TX1 you got has 32 bit OS (armhf) on it. However, JetPack 2.3 only supports installation of 64 bit components (aarch64). Therefore, besides selecting CUDA component, you also need select the “Flash OS” component to flash it with 64 bit OS.

Thanks. Worked perfectly.