Error get when installing CUDA via SDK Manager

I’m running on emmc version.

My steps as below:

  1. Flash the OS using SDK Manager
  2. Remove the recovery pin and start to do the initialize manually for the Jetson nano, e.g. Setting the username/psw, keyboard, wifi connection, etc.
  3. Connect the host via usb, start to install the SDK components via SDKM
    btw, 'sudo apt-get update ’ already executed on the board successfully

I got the following errors:

23:14:37 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y install cuda-toolkit-10-0 , 5
23:14:37 INFO : CUDA Toolkit for L4T : Reading package lists…
23:14:38 INFO : CUDA Toolkit for L4T : Building dependency tree…
23:14:38 INFO : CUDA Toolkit for L4T : Reading state information…
23:14:38 INFO : CUDA Toolkit for L4T : You might want to run ‘apt --fix-broken install’ to correct these.
23:14:38 INFO : CUDA Toolkit for L4T : The following packages have unmet dependencies:
23:14:38 INFO : CUDA Toolkit for L4T : cuda-toolkit-10-0 : Depends: cuda-compiler-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : Depends: cuda-tools-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : Depends: cuda-samples-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : Depends: cuda-documentation-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : Depends: cuda-libraries-dev-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : Depends: cuda-nvml-dev-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : Depends: cuda-license-10-0 (>= 10.0.326) but it is not going to be installed
23:14:38 INFO : CUDA Toolkit for L4T : E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
23:14:39 INFO : CUDA Toolkit for L4T : Unhandled error when running sudo apt-get -y install cuda-toolkit-10-0
23:14:39 ERROR : CUDA Toolkit for L4T : [exec_command]: /bin/bash -c scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh ssme@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ssme@192.168.55.1 “~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh”; [error]: exit status 1
23:14:39 INFO : CUDA Toolkit for L4T : [ Package Install Finished with Error ]
23:14:39 INFO : CUDA Toolkit for L4T : [ 40.00 KB used. Disk Avail: 41.60 GB ]
23:14:39 INFO : CUDA Toolkit for L4T : [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 1m11s ]
23:14:39 ERROR : CUDA Toolkit for L4T : [error]: dpkg install on target failed; [exec_command]: safe_apt_install “sudo dpkg -i /opt/nvidia/deb_repos/cuda-repo-l4t-10-0-local-10.0.326_1.0-1_arm64.deb” 5; sleep 5; ; safe_apt_install "sudo apt-get -y install cuda-toolkit-10-0 " 5; sudo apt-get purge -y cuda-repo-l4t-10-0-local-10.0.326; [deb_path]: /home/sl/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-10-0-local-10.0.326_1.0-1_arm64.deb
23:14:39 INFO : CUDA Toolkit for L4T :
23:14:39 ERROR : CUDA Toolkit for L4T : command terminated with error
23:14:39 ERROR : CUDA Toolkit for L4T : Install ‘CUDA Toolkit for L4T’ failure, command < using adapter to install NV_L4T_CUDA_TARGET_POST_INSTALL_COMP@JETSON_NANO to /home/sl/disk2/JetPack_4.3_Linux_JETSON_NANO > terminated with error.


If I need to run ‘apt --fix-broken install’ to fix the issue, it will need to download over 2G files…It is not acceptable, I’m still hope to have required files already, and doing an offline installation.

BTW, my step 2, is there any script or tool to do it automatically, it is impossible to manually set all boards in industry…

Hi seliber,

After Flash the OS and wait device to Desktop GUI, you can continue to install sdk components.
Check logs, there are some error packages, so please run “apt --fix-broken install” to fix issue first.

You also can using below command line to install sdk components:

sudo apt --fix-broken install
sudo apt-get update
sudo apt-get install nvidia-jetpack

I’ve mentioned…in some situation(e.g. no wifi connection), to run ‘apt --fix-broken install’ is not acceptable…

Do we have any totally offline installation instructions?

I thought I’ve downloaded all required packages via SDKManager…

Hi seliber,

Sorry, we don’t have script for total offline installation.
You can try scp your *.deb files from host to target and install each one by manually.

Thanks for the reply. I’ll try.