Failed to flash Jetson SDK component on Jetson TX 1 via SDK manager

Hi,

I cannot flash Jetson SDK component (OS was successfully flashed and the USB network was recognized) on Jetson TX1 via SDK manager.

Host Machine: Ubuntu 18.04
Target OS on Jetson TX1: Ubuntu 16.04, Jetpack 3.3.1 with cuda 9.0

I was able to start the SDK component flashing (no USB connection or SSH problem), but after the CUDA was installing for a while, it errs. Seems to be the problem of installing CUDA. I’m attaching the error message in the CUDA installing process.

14:34:23 INFO : CUDA Toolkit for L4T : Found file /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb with correct checksum, skip downloading.
14:49:11 DEBUG : CUDA Toolkit for L4T : running command < cd '/home/steven/nvidia/nvidia_sdk/JetPack_3.3.1_Linux_GA_P2180' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9DVURBX1RBUkdFVF9QT1NUX0lOU1RBTExfQ09NUCIsIm5hbWUiOiJDVURBIFRvb2xraXQgZm9yIEw0VCIsImRlc2NyaXB0aW9uIjoiQ1VEQSB0byBiZSBpbnN0YWxsZWQgb24gdGFyZ2V0LiBDVURBIGlzIGEgcGFyYWxsZWwgY29tcHV0aW5nIHBsYXRmb3JtIGFuZCBwcm9ncmFtbWluZyBtb2RlbCBpbnZlbnRlZCBieSBOVklESUEuIEl0IGVuYWJsZXMgZHJhbWF0aWMgaW5jcmVhc2VzIGluIGNvbXB1dGluZyBwZXJmb3JtYW5jZSBieSBoYXJuZXNzaW5nIHRoZSBwb3dlciBvZiB0aGUgZ3JhcGhpY3MgcHJvY2Vzc2luZyB1bml0IChHUFUpLiIsImNvbXBUeXBlIjoidGFyZ2V0IiwiaXNWaXNpYmxlIjp0cnVlLCJsaWNlbnNlSWQiOiJOVl9KRVRQQUNLX0NVREFfRVVMQSIsImlzRGV0ZWN0YWJsZUluc3RhbGwiOmZhbHNlLCJpc0luc3RhbGxQYXRoQ3VzdG9taXphYmxlIjp0c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fTDRUX0NVREFfVEFSR0VUX1BPU1RfSU5TVEFMTF9DT01QQFAyMTgwIiwicGFyZW50SUQiOiJOVl9DVURBX1RBUkdFVF9HUk9VUCIsIl9wYXJlbnRJRCI6Ik5WX0NVREFfVEFSR0VUX0dST1VQQFAyMTgwIiwiaW5zdGFsbFN0YXR1cyI6Im5vbmUiLCJhY3Rpb24iOjEsImRvd25sb2FkRXJyb3JzIjpbXSwiZXhlYyI6Ii9ob21lL3N0ZXZlbi9Eb3dubG9hZHMvbnZpZGlhL3Nka21fZG93bmxvYWRzL2N1ZGEtcmVwby1sNHQtOS0wLWxvY2FsXzkuMC4yNTItMV9hcm02NC5kZWIiLCJ0YXJnZXRBY2Nlc3NJbmZvIjp7InVzZXIiOiJudmlkaWEiLCJwYXNzd29yZCI6Im52aWRpYSIsImhvc3QiOiIxOTIuMTY4LjU1LjEiLCJwb3J0IjoiMjIiLCJ1c2VyQXV0b2ZpbGwiOnRydWUsInBhc3N3b3JkQXV0b2ZpbGwiOnRydWUsImhvc3RBdXRvZmlsbCI6dHJ1ZX0sImJ1bmRsZVRpdGxlIjoiSmV0UGFja18zLjMuMV9MaW51eF9HQSIsImluc3RhbGxQYXRoIjoiL2hvbWUvc3RldmVuL252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfMy4zLjFfTGludXhfR0FfUDIxODAiLCJpbnN0YWxsUm9vdCI6Ii9ob21lL3N0ZXZlbi9udmlkaWEvbnZpZGlhX3NkayIsImJvYXJkSUQiOiJQMjE4MCIsImlzRHJ5UnVuIjpmYWxzZX0=' -i='NV_L4T_CUDA_TARGET_POST_INSTALL_COMP' -v='9.0' -l='/home/steven/nvidia/nvidia_sdk/JetPack_3.3.1_Linux_GA_P2180' -L='/home/steven/.nvsdkm/logs/JetPack_3.3.1_Linux_GA' -p='11948' -t='P2180' -e='/home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb' >
14:49:11 INFO : CUDA Toolkit for L4T : [ Disk Avail:443.66 GB ]
14:49:11 INFO : CUDA Toolkit for L4T : Using GenericInstaller to Install NV_L4T_CUDA_TARGET_POST_INSTALL_COMP
14:49:11 INFO : CUDA Toolkit for L4T : NV_L4T_CUDA_TARGET_POST_INSTALL_COMP include 1 package
14:49:11 INFO : CUDA Toolkit for L4T : [ Package Install Started ]
14:49:11 INFO : CUDA Toolkit for L4T : target deb installer start to install
14:49:11 INFO : CUDA Toolkit for L4T : exec_command: dpkg -f /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb Package | tr -d '\n'
14:49:11 INFO : CUDA Toolkit for L4T : exec_command: dpkg -f /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb Version | tr -d '\n'
14:49:11 INFO : CUDA Toolkit for L4T : deb file /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb, package name [cuda-repo-l4t-9-0-local], package version [9.0.252-1]
14:49:11 INFO : CUDA Toolkit for L4T : infer package info from file name cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb [ name: cuda-repo-l4t-9-0-local, version: 9.0.252-1 ]
14:49:11 INFO : CUDA Toolkit for L4T : exec_command [target]:
14:49:11 INFO : CUDA Toolkit for L4T : **********************
14:49:11 INFO : CUDA Toolkit for L4T : #!/bin/bash
14:49:11 INFO : CUDA Toolkit for L4T : set -e
14:49:11 INFO : CUDA Toolkit for L4T : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
14:49:11 INFO : CUDA Toolkit for L4T : sudo mkdir -p /opt/nvidia/deb_repos
14:49:11 INFO : CUDA Toolkit for L4T : sudo chmod 777 /opt/nvidia/deb_repos
14:49:11 INFO : CUDA Toolkit for L4T : sudo rm -f /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb
14:49:11 INFO : CUDA Toolkit for L4T : **********************
14:49:12 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
14:49:12 INFO : CUDA Toolkit for L4T :
14:49:12 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
14:49:12 INFO : CUDA Toolkit for L4T :
14:49:12 INFO : CUDA Toolkit for L4T : [target] [sudo] password for nvidia:
14:49:12 INFO : CUDA Toolkit for L4T :
14:49:13 WARNING : CUDA Toolkit for L4T : Warning: Permanently added '192.168.55.1' (ECDSA) to the list of known hosts.
14:49:13 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
14:49:13 INFO : CUDA Toolkit for L4T :
14:49:43 INFO : CUDA Toolkit for L4T : cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 0% 0 0.0KB/s --:-- ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 3% 21MB 21.2MB/s 00:26 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 7% 41MB 21.0MB/s 00:25 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 10% 60MB 20.9MB/s 00:24 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 13% 80MB 20.7MB/s 00:23 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 17% 99MB 20.6MB/s 00:23 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 20% 118MB 20.5MB/s 00:22 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 23% 138MB 20.3MB/s 00:21 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 27% 157MB 20.2MB/s 00:20 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 30% 176MB 20.2MB/s 00:19 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 33% 195MB 20.1MB/s 00:19 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 37% 215MB 20.0MB/s 00:18 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 40% 234MB 19.9MB/s 00:17 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 43% 253MB 19.9MB/s 00:16 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 47% 273MB 19.8MB/s 00:15 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 50% 292MB 19.7MB/s 00:14 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 53% 311MB 19.7MB/s 00:13 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 57% 330MB 19.7MB/s 00:12 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 60% 350MB 19.6MB/s 00:11 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 63% 369MB 19.6MB/s 00:10 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 67% 388MB 19.6MB/s 00:09 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 70% 408MB 19.5MB/s 00:08 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 73% 425MB 19.4MB/s 00:07 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 77% 446MB 19.5MB/s 00:06 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 80% 466MB 19.5MB/s 00:05 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 84% 485MB 19.5MB/s 00:04 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 87% 504MB 19.5MB/s 00:03 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 90% 524MB 19.5MB/s 00:02 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 94% 543MB 19.4MB/s 00:01 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 97% 562MB 19.4MB/s 00:00 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 100% 577MB 19.3MB/s 00:29
14:49:43 INFO : CUDA Toolkit for L4T : exec_command: dpkg -c /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb | awk '{ print $6 }' | grep '\.pub$' | sed 's/^\.//' | tr -d '\n'
14:49:48 INFO : CUDA Toolkit for L4T : exec_command [target]:
14:49:48 INFO : CUDA Toolkit for L4T : **********************
14:49:48 INFO : CUDA Toolkit for L4T : #!/bin/bash
14:49:48 INFO : CUDA Toolkit for L4T : set -e
14:49:48 INFO : CUDA Toolkit for L4T : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
14:49:48 INFO : CUDA Toolkit for L4T : function safe_apt_install {
14:49:48 INFO : CUDA Toolkit for L4T : echo "*begin $1, $2"
14:49:48 INFO : CUDA Toolkit for L4T : tmp_log=/tmp/jetpack_dpkg_log.txt
14:49:48 INFO : CUDA Toolkit for L4T : sudo rm -f $tmp_log
14:49:48 INFO : CUDA Toolkit for L4T : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
14:49:48 INFO : CUDA Toolkit for L4T : while [ ${CMD_STATUS} -ne 0 ]; do
14:49:48 INFO : CUDA Toolkit for L4T : if grep -q -e "is locked by another process" -e "E: Could not get lock /var/lib" $tmp_log; then
14:49:48 INFO : CUDA Toolkit for L4T : sudo rm -f $tmp_log
14:49:48 INFO : CUDA Toolkit for L4T : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
14:49:48 INFO : CUDA Toolkit for L4T : echo "Waiting $2 seconds for apt to be available"; sleep ${2}
14:49:48 INFO : CUDA Toolkit for L4T : else
14:49:48 INFO : CUDA Toolkit for L4T : echo "Unhandled error when running $1"; exit 1
14:49:48 INFO : CUDA Toolkit for L4T : fi
14:49:48 INFO : CUDA Toolkit for L4T : done
14:49:48 INFO : CUDA Toolkit for L4T : }
14:49:48 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo dpkg -i /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb" 5
14:49:48 INFO : CUDA Toolkit for L4T : sleep 5
14:49:48 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub" 5
14:49:48 INFO : CUDA Toolkit for L4T : sleep 2
14:49:48 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo apt-get -y update" 5
14:49:48 INFO : CUDA Toolkit for L4T :
14:49:48 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo apt-get -y install cuda-toolkit-9-0 " 5
14:49:48 INFO : CUDA Toolkit for L4T : sudo rm -f /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb
14:49:48 INFO : CUDA Toolkit for L4T : **********************
14:49:49 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
14:49:49 INFO : CUDA Toolkit for L4T :
14:49:49 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
14:49:49 INFO : CUDA Toolkit for L4T :
14:49:50 INFO : CUDA Toolkit for L4T : *begin sudo dpkg -i /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb, 5
14:49:50 INFO : CUDA Toolkit for L4T : [target] [sudo] password for nvidia:
14:49:50 INFO : CUDA Toolkit for L4T :
14:49:50 INFO : CUDA Toolkit for L4T : Selecting previously unselected package cuda-repo-l4t-9-0-local.
14:49:50 INFO : CUDA Toolkit for L4T : (Reading database ... 149350 files and directories currently installed.)
14:49:50 INFO : CUDA Toolkit for L4T : Preparing to unpack .../cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb ...
14:49:50 INFO : CUDA Toolkit for L4T : Unpacking cuda-repo-l4t-9-0-local (9.0.252-1) ...
14:50:12 INFO : CUDA Toolkit for L4T : Setting up cuda-repo-l4t-9-0-local (9.0.252-1) ...
14:50:12 INFO : CUDA Toolkit for L4T :
14:50:12 INFO : CUDA Toolkit for L4T : The public CUDA GPG key does not appear to be installed.
14:50:12 INFO : CUDA Toolkit for L4T : To install the key, run this command:
14:50:12 INFO : CUDA Toolkit for L4T : sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub
14:50:12 INFO : CUDA Toolkit for L4T :
14:50:17 INFO : CUDA Toolkit for L4T : *begin sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub, 5
14:50:17 INFO : CUDA Toolkit for L4T : OK
14:50:19 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y update, 5
14:50:20 INFO : CUDA Toolkit for L4T : Get:1 file:/var/cuda-repo-9-0-local InRelease
14:50:20 INFO : CUDA Toolkit for L4T : Ign:1 file:/var/cuda-repo-9-0-local InRelease
14:50:20 INFO : CUDA Toolkit for L4T : Get:2 file:/var/cuda-repo-9-0-local Release [574 B]
14:50:20 INFO : CUDA Toolkit for L4T : Err:3 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
14:50:20 INFO : CUDA Toolkit for L4T : Temporary failure resolving 'ports.ubuntu.com'
14:50:20 INFO : CUDA Toolkit for L4T : Err:4 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
14:50:20 INFO : CUDA Toolkit for L4T : Temporary failure resolving 'ports.ubuntu.com'
14:50:20 INFO : CUDA Toolkit for L4T : Err:5 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
14:50:20 INFO : CUDA Toolkit for L4T : Temporary failure resolving 'ports.ubuntu.com'
14:50:20 INFO : CUDA Toolkit for L4T : Get:2 file:/var/cuda-repo-9-0-local Release [574 B]
14:50:20 INFO : CUDA Toolkit for L4T : Get:6 file:/var/cuda-repo-9-0-local Release.gpg [819 B]
14:50:20 INFO : CUDA Toolkit for L4T : Get:6 file:/var/cuda-repo-9-0-local Release.gpg [819 B]
14:50:20 INFO : CUDA Toolkit for L4T : Get:7 file:/var/cuda-repo-9-0-local Packages [7,617 B]
14:50:21 INFO : CUDA Toolkit for L4T : Reading package lists...
14:50:21 INFO : CUDA Toolkit for L4T : W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/InRelease Temporary failure resolving 'ports.ubuntu.com'
14:50:21 INFO : CUDA Toolkit for L4T : W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/InRelease Temporary failure resolving 'ports.ubuntu.com'
14:50:21 INFO : CUDA Toolkit for L4T : W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/InRelease Temporary failure resolving 'ports.ubuntu.com'
14:50:21 INFO : CUDA Toolkit for L4T : W: Some index files failed to download. They have been ignored, or old ones used instead.
14:50:21 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y install cuda-toolkit-9-0 , 5
14:50:21 INFO : CUDA Toolkit for L4T : Reading package lists...
14:50:21 INFO : CUDA Toolkit for L4T : Building dependency tree...
14:50:21 INFO : CUDA Toolkit for L4T : Reading state information...
14:50:21 INFO : CUDA Toolkit for L4T : Some packages could not be installed. This may mean that you have
14:50:21 INFO : CUDA Toolkit for L4T : requested an impossible situation or if you are using the unstable
14:50:21 INFO : CUDA Toolkit for L4T : distribution that some required packages have not yet been created
14:50:21 INFO : CUDA Toolkit for L4T : or been moved out of Incoming.
14:50:21 INFO : CUDA Toolkit for L4T : The following information may help to resolve the situation:
14:50:21 INFO : CUDA Toolkit for L4T :
14:50:21 INFO : CUDA Toolkit for L4T : The following packages have unmet dependencies:
14:50:21 INFO : CUDA Toolkit for L4T : cuda-toolkit-9-0 : Depends: cuda-samples-9-0 (>= 9.0.252) but it is not going to be installed
14:50:21 INFO : CUDA Toolkit for L4T : Depends: cuda-documentation-9-0 (>= 9.0.252) but it is not going to be installed
14:50:21 INFO : CUDA Toolkit for L4T : E: Unable to correct problems, you have held broken packages.
14:50:21 INFO : CUDA Toolkit for L4T : Unhandled error when running sudo apt-get -y install cuda-toolkit-9-0
14:50:21 INFO : CUDA Toolkit for L4T : exit status 1
14:50:21 INFO : CUDA Toolkit for L4T : [ Package Install Finished with Error ]
14:50:21 INFO : CUDA Toolkit for L4T : [ 244.00 KB used. Disk Avail: 443.66 GB ]
14:50:21 INFO : CUDA Toolkit for L4T : [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 1m9s ]
14:50:21 ERROR : CUDA Toolkit for L4T : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 "~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh" finished with error
14:50:21 INFO : CUDA Toolkit for L4T :
14:50:21 ERROR : CUDA Toolkit for L4T : command terminated with error
14:53:41 INFO : CUDA Toolkit for L4T : Found file /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb with correct checksum, skip downloading.
15:02:39 DEBUG : CUDA Toolkit for L4T : running command < cd '/home/steven/nvidia/nvidia_sdk/JetPack_3.3.1_Linux_GA_P2180' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9DVURBX1RBUkdFVF9QT1NUX0lOU1RBTExfQ09NUCIsIm5hbWUiOiJDVURBIFRvb2xraXQgZm9yIEw0VCIsImRlc2NyaXB0aW9uIjoiQ1VEQSB0byBiZSBpbnN0YWxsZWQgb24gdGFyZ2V0LiBDVURBIGlzIGEgcGFyYWxsZWwgY29tcHV0aW5nIHBsYXRmb3JtIGFuZCBwcm9ncmFtbWluZyBtb2RlbCBpbnZlbnRlZCBieSBOVklESUEuIEl0IGVuYWJsZXMgZHJhbWF0aWMgaW5jcmVhc2VzIGluIGNvbXB1dGluZyBwZXJmb3JtYW5jZSBieSBoYXJuZXNzaW5nIHRoZSBwb3dlciBvZiB0aGUgZ3JhcGhpY3MgcHJvY2Vzc2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/nvidia/nvidia_sdk/JetPack_3.3.1_Linux_GA_P2180' -L='/home/steven/.nvsdkm/logs/JetPack_3.3.1_Linux_GA' -p='11948' -t='P2180' -e='/home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb' >
15:02:39 INFO : CUDA Toolkit for L4T : [ Disk Avail:443.66 GB ]
15:02:39 INFO : CUDA Toolkit for L4T : Using GenericInstaller to Install NV_L4T_CUDA_TARGET_POST_INSTALL_COMP
15:02:39 INFO : CUDA Toolkit for L4T : NV_L4T_CUDA_TARGET_POST_INSTALL_COMP include 1 package
15:02:39 INFO : CUDA Toolkit for L4T : [ Package Install Started ]
15:02:39 INFO : CUDA Toolkit for L4T : target deb installer start to install
15:02:39 INFO : CUDA Toolkit for L4T : exec_command: dpkg -f /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb Package | tr -d '\n'
15:02:40 INFO : CUDA Toolkit for L4T : exec_command: dpkg -f /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb Version | tr -d '\n'
15:02:40 INFO : CUDA Toolkit for L4T : deb file /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb, package name [cuda-repo-l4t-9-0-local], package version [9.0.252-1]
15:02:40 INFO : CUDA Toolkit for L4T : infer package info from file name cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb [ name: cuda-repo-l4t-9-0-local, version: 9.0.252-1 ]
15:02:40 INFO : CUDA Toolkit for L4T : exec_command [target]:
15:02:40 INFO : CUDA Toolkit for L4T : **********************
15:02:40 INFO : CUDA Toolkit for L4T : #!/bin/bash
15:02:40 INFO : CUDA Toolkit for L4T : set -e
15:02:40 INFO : CUDA Toolkit for L4T : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
15:02:40 INFO : CUDA Toolkit for L4T : sudo mkdir -p /opt/nvidia/deb_repos
15:02:40 INFO : CUDA Toolkit for L4T : sudo chmod 777 /opt/nvidia/deb_repos
15:02:40 INFO : CUDA Toolkit for L4T : sudo rm -f /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb
15:02:40 INFO : CUDA Toolkit for L4T : **********************
15:02:40 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
15:02:40 INFO : CUDA Toolkit for L4T :
15:02:40 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
15:02:40 INFO : CUDA Toolkit for L4T :
15:02:40 INFO : CUDA Toolkit for L4T : [target] [sudo] password for nvidia:
15:02:40 INFO : CUDA Toolkit for L4T :
15:02:41 WARNING : CUDA Toolkit for L4T : Warning: Permanently added '192.168.55.1' (ECDSA) to the list of known hosts.
15:02:41 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
15:02:41 INFO : CUDA Toolkit for L4T :
15:03:02 INFO : CUDA Toolkit for L4T : cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 0% 0 0.0KB/s --:-- ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 5% 30MB 29.9MB/s 00:18 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 10% 58MB 29.8MB/s 00:17 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 14% 86MB 29.6MB/s 00:16 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 19% 115MB 29.5MB/s 00:15 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 24% 143MB 29.4MB/s 00:14 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 29% 171MB 29.2MB/s 00:13 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 34% 199MB 29.1MB/s 00:12 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 39% 227MB 28.9MB/s 00:12 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 44% 255MB 28.9MB/s 00:11 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 49% 283MB 28.8MB/s 00:10 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 53% 311MB 28.7MB/s 00:09 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 58% 339MB 28.6MB/s 00:08 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 63% 366MB 28.5MB/s 00:07 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 68% 394MB 28.4MB/s 00:06 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 73% 421MB 28.3MB/s 00:05 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 77% 449MB 28.3MB/s 00:04 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 82% 477MB 28.2MB/s 00:03 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 87% 506MB 28.3MB/s 00:02 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 92% 534MB 28.3MB/s 00:01 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 97% 563MB 28.3MB/s 00:00 ETA cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb 100% 577MB 28.0MB/s 00:20
15:03:02 INFO : CUDA Toolkit for L4T : exec_command: dpkg -c /home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb | awk '{ print $6 }' | grep '\.pub$' | sed 's/^\.//' | tr -d '\n'
15:03:08 INFO : CUDA Toolkit for L4T : exec_command [target]:
15:03:08 INFO : CUDA Toolkit for L4T : **********************
15:03:08 INFO : CUDA Toolkit for L4T : #!/bin/bash
15:03:08 INFO : CUDA Toolkit for L4T : set -e
15:03:08 INFO : CUDA Toolkit for L4T : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
15:03:08 INFO : CUDA Toolkit for L4T : function safe_apt_install {
15:03:08 INFO : CUDA Toolkit for L4T : echo "*begin $1, $2"
15:03:08 INFO : CUDA Toolkit for L4T : tmp_log=/tmp/jetpack_dpkg_log.txt
15:03:08 INFO : CUDA Toolkit for L4T : sudo rm -f $tmp_log
15:03:08 INFO : CUDA Toolkit for L4T : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
15:03:08 INFO : CUDA Toolkit for L4T : while [ ${CMD_STATUS} -ne 0 ]; do
15:03:08 INFO : CUDA Toolkit for L4T : if grep -q -e "is locked by another process" -e "E: Could not get lock /var/lib" $tmp_log; then
15:03:08 INFO : CUDA Toolkit for L4T : sudo rm -f $tmp_log
15:03:08 INFO : CUDA Toolkit for L4T : set +e; $1 2>&1 | tee $tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e
15:03:08 INFO : CUDA Toolkit for L4T : echo "Waiting $2 seconds for apt to be available"; sleep ${2}
15:03:08 INFO : CUDA Toolkit for L4T : else
15:03:08 INFO : CUDA Toolkit for L4T : echo "Unhandled error when running $1"; exit 1
15:03:08 INFO : CUDA Toolkit for L4T : fi
15:03:08 INFO : CUDA Toolkit for L4T : done
15:03:08 INFO : CUDA Toolkit for L4T : }
15:03:08 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo dpkg -i /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb" 5
15:03:08 INFO : CUDA Toolkit for L4T : sleep 5
15:03:08 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub" 5
15:03:08 INFO : CUDA Toolkit for L4T : sleep 2
15:03:08 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo apt-get -y update" 5
15:03:08 INFO : CUDA Toolkit for L4T :
15:03:08 INFO : CUDA Toolkit for L4T : safe_apt_install "sudo apt-get -y install cuda-toolkit-9-0 " 5
15:03:08 INFO : CUDA Toolkit for L4T : sudo rm -f /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb
15:03:08 INFO : CUDA Toolkit for L4T : **********************
15:03:08 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
15:03:08 INFO : CUDA Toolkit for L4T :
15:03:09 INFO : CUDA Toolkit for L4T : [target] nvidia@192.168.55.1's password:
15:03:09 INFO : CUDA Toolkit for L4T :
15:03:09 INFO : CUDA Toolkit for L4T : *begin sudo dpkg -i /opt/nvidia/deb_repos/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb, 5
15:03:09 INFO : CUDA Toolkit for L4T : [target] [sudo] password for nvidia:
15:03:09 INFO : CUDA Toolkit for L4T :
15:03:09 INFO : CUDA Toolkit for L4T : Selecting previously unselected package cuda-repo-l4t-9-0-local.
15:03:10 INFO : CUDA Toolkit for L4T : (Reading database ... 149350 files and directories currently installed.)
15:03:10 INFO : CUDA Toolkit for L4T : Preparing to unpack .../cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb ...
15:03:10 INFO : CUDA Toolkit for L4T : Unpacking cuda-repo-l4t-9-0-local (9.0.252-1) ...
15:03:31 INFO : CUDA Toolkit for L4T : Setting up cuda-repo-l4t-9-0-local (9.0.252-1) ...
15:03:31 INFO : CUDA Toolkit for L4T :
15:03:31 INFO : CUDA Toolkit for L4T : The public CUDA GPG key does not appear to be installed.
15:03:31 INFO : CUDA Toolkit for L4T : To install the key, run this command:
15:03:31 INFO : CUDA Toolkit for L4T : sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub
15:03:31 INFO : CUDA Toolkit for L4T :
15:03:36 INFO : CUDA Toolkit for L4T : *begin sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub, 5
15:03:37 INFO : CUDA Toolkit for L4T : OK
15:03:39 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y update, 5
15:03:39 INFO : CUDA Toolkit for L4T : Get:1 file:/var/cuda-repo-9-0-local InRelease
15:03:39 INFO : CUDA Toolkit for L4T : Ign:1 file:/var/cuda-repo-9-0-local InRelease
15:03:39 INFO : CUDA Toolkit for L4T : Get:2 file:/var/cuda-repo-9-0-local Release [574 B]
15:03:39 INFO : CUDA Toolkit for L4T : Err:3 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
15:03:39 INFO : CUDA Toolkit for L4T : Temporary failure resolving 'ports.ubuntu.com'
15:03:39 INFO : CUDA Toolkit for L4T : Err:4 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
15:03:39 INFO : CUDA Toolkit for L4T : Temporary failure resolving 'ports.ubuntu.com'
15:03:39 INFO : CUDA Toolkit for L4T : Err:5 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
15:03:39 INFO : CUDA Toolkit for L4T : Temporary failure resolving 'ports.ubuntu.com'
15:03:39 INFO : CUDA Toolkit for L4T : Get:2 file:/var/cuda-repo-9-0-local Release [574 B]
15:03:39 INFO : CUDA Toolkit for L4T : Get:6 file:/var/cuda-repo-9-0-local Release.gpg [819 B]
15:03:39 INFO : CUDA Toolkit for L4T : Get:6 file:/var/cuda-repo-9-0-local Release.gpg [819 B]
15:03:39 INFO : CUDA Toolkit for L4T : Get:7 file:/var/cuda-repo-9-0-local Packages [7,617 B]
15:03:40 INFO : CUDA Toolkit for L4T : Reading package lists...
15:03:40 INFO : CUDA Toolkit for L4T : W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/InRelease Temporary failure resolving 'ports.ubuntu.com'
15:03:40 INFO : CUDA Toolkit for L4T : W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/InRelease Temporary failure resolving 'ports.ubuntu.com'
15:03:40 INFO : CUDA Toolkit for L4T : W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/InRelease Temporary failure resolving 'ports.ubuntu.com'
15:03:40 INFO : CUDA Toolkit for L4T : W: Some index files failed to download. They have been ignored, or old ones used instead.
15:03:40 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y install cuda-toolkit-9-0 , 5
15:03:40 INFO : CUDA Toolkit for L4T : Reading package lists...
15:03:40 INFO : CUDA Toolkit for L4T : Building dependency tree...
15:03:40 INFO : CUDA Toolkit for L4T : Reading state information...
15:03:40 INFO : CUDA Toolkit for L4T : Some packages could not be installed. This may mean that you have
15:03:40 INFO : CUDA Toolkit for L4T : requested an impossible situation or if you are using the unstable
15:03:40 INFO : CUDA Toolkit for L4T : distribution that some required packages have not yet been created
15:03:40 INFO : CUDA Toolkit for L4T : or been moved out of Incoming.
15:03:40 INFO : CUDA Toolkit for L4T : The following information may help to resolve the situation:
15:03:40 INFO : CUDA Toolkit for L4T :
15:03:40 INFO : CUDA Toolkit for L4T : The following packages have unmet dependencies:
15:03:40 INFO : CUDA Toolkit for L4T : cuda-toolkit-9-0 : Depends: cuda-samples-9-0 (>= 9.0.252) but it is not going to be installed
15:03:40 INFO : CUDA Toolkit for L4T : Depends: cuda-documentation-9-0 (>= 9.0.252) but it is not going to be installed
15:03:40 INFO : CUDA Toolkit for L4T : E: Unable to correct problems, you have held broken packages.
15:03:40 INFO : CUDA Toolkit for L4T : Unhandled error when running sudo apt-get -y install cuda-toolkit-9-0
15:03:40 INFO : CUDA Toolkit for L4T : exit status 1
15:03:40 INFO : CUDA Toolkit for L4T : [ Package Install Finished with Error ]
15:03:40 INFO : CUDA Toolkit for L4T : [ 24.00 KB used. Disk Avail: 443.66 GB ]
15:03:40 INFO : CUDA Toolkit for L4T : [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 1m1s ]
15:03:40 ERROR : CUDA Toolkit for L4T : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 "~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh" finished with error
15:03:40 INFO : CUDA Toolkit for L4T :
15:03:40 ERROR : CUDA Toolkit for L4T : command terminated with error

If anyone can help it is appreciated! Thanks!

Hi steven_yang,

Could you try install SDK components via ip address? change the 192.168.55.1 to your ethernet ip.

Hi carolyuu,

Yes, I tried that. In fact, it did start to install the SDK components, but after about 1 min, the process failed. Below are the links to the pictures I took illustrating the process I went through:

https://ibb.co/vh36zCF

https://ibb.co/XFLbB5V

https://ibb.co/T1kCTCv

Thanks,

Hi steven_yang,

Are you got the same error when change ip address to your TX1 eth0 ip address?
Please change 192.168.55.1 to your TX1 eth0 ip. Thanks!

Hi carolyuu,

I switched to use wired Ethernet. I configured the host machine (Ubuntu 16.04) with the IP 192.168.2.1, and the jetson tx1’s eth0 (JetPack 3.3.1 with Ubuntu 16.04) with IP 192.168.2.2. The SDK Manager can successfully SSH and start to install the SDK components. However, unfortunately, the same error appears. After about 1 min, it says INSTALLATION FAILED.

I suspect it is not the problem of SSH. It’s the SDK components or flashed OS on Jetson. But I’m not sure. Below is the error message I copied from the terminal of the SDK Manager:

16:00:23 ERROR : Flash Jetson TX1 : 2842: RAW: 57344( 14 blks) ==> 3416257876:57356
16:00:23 ERROR : Flash Jetson TX1 : 2844: RAW: 4096( 1 blks) ==> 3416315244:4108
16:00:23 ERROR : Flash Jetson TX1 : 2845: SKP: 4096( 1 blks) ==> 3416319352:12
16:00:23 ERROR : Flash Jetson TX1 : 2846: RAW: 8192( 2 blks) ==> 3416319364:8204
16:00:23 ERROR : Flash Jetson TX1 : 2847: SKP: 4096( 1 blks) ==> 3416327568:12
16:00:23 ERROR : Flash Jetson TX1 : 2848: RAW: 8192( 2 blks) ==> 3416327580:8204
16:00:23 ERROR : Flash Jetson TX1 : 2849: SKP: 4096( 1 blks) ==> 3416335784:12
16:00:23 ERROR : Flash Jetson TX1 : 2850: RAW: 8192( 2 blks) ==> 3416335796:8204
16:00:23 ERROR : Flash Jetson TX1 : 2851: SKP: 4096( 1 blks) ==> 3416344000:12
16:00:23 ERROR : Flash Jetson TX1 : 2852: RAW: 21254144( 5189 blks) ==> 3416344012:21254156
16:00:24 ERROR : Flash Jetson TX1 : 2854: RAW: 17616896( 4301 blks) ==> 3437598180:17616908
16:00:24 ERROR : Flash Jetson TX1 : 2855: SKP: 1775915008( 433573 blks) ==> 3455215088:12
16:00:24 ERROR : Flash Jetson TX1 : -- Total: ---------------------------------------------------
16:00:27 ERROR : Flash Jetson TX1 :
16:00:27 ERROR : Flash Jetson TX1 :
16:00:27 ERROR : Flash Jetson TX1 : [ FX] UV 29421568 29425663 2.0MiB
16:04:22 ERROR : command terminated with error
16:04:22 ERROR : Cannot connect to the device via SSH.
16:13:17 ERROR : command terminated with error
16:13:17 ERROR : Cannot connect to the device via SSH.
16:21:13 ERROR : CUDA Toolkit for L4T : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh nvidia@192.168.2.2:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.2.2 "~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh && rm -f ~/tmp_NV_L4T_CUDA_TARGET_POST_INSTALL_COMP.sh" finished with error
16:21:13 ERROR : CUDA Toolkit for L4T : command terminated with error
16:21:13 ERROR : install 'CUDA Toolkit for L4T' failure, command < cd '/home/steven/nvidia/nvidia_sdk/JetPack_3.3.1_Linux_GA_P2180' ; '/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter' -a='install' -c='eyJpZCI6Ik5WX0w0VF9DVURBX1RBUkdFVF9QT1NUX0lOU1RBTExfQ09NUCIsIm5hbWUiOiJDVURBIFRvb2xraXQgZm9yIEw0VCIsImRlc2NyaXB0aW9uIjoiQ1VEQSB0byBiZSBpbnN0YWxsZWQgb24gdGFyZ2V0LiBDVURBIGlzIGEgcGFyYWxsZWw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bCI6dHJ1ZX0sImJ1bmRsZVRpdGxlIjoiSmV0UGFja18zLjMuMV9MaW51eF9HQSIsImluc3RhbGxSb290IjoiL2hvbWUvc3RldmVuL252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAyMTgwIiwiaXNEcnlSdW4iOmZhbHNlfQ==' -i='NV_L4T_CUDA_TARGET_POST_INSTALL_COMP' -v='9.0' -l='/home/steven/nvidia/nvidia_sdk/JetPack_3.3.1_Linux_GA_P2180' -L='/home/steven/.nvsdkm/logs/JetPack_3.3.1_Linux_GA' -p='3931' -t='P2180' -e='/home/steven/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb' > terminated with error
16:21:13 ERROR : Unavailable components detected, please check log
16:21:13 ERROR : cuDNN on Target Skipped. Due to its dependencies fail to install: CUDA Toolkit for L4T,
16:21:13 ERROR : TensorRT on Target Skipped. Due to its dependencies fail to install: CUDA Toolkit for L4T,
16:21:13 ERROR : OpenCV on Target Skipped. Due to its dependencies fail to install: CUDA Toolkit for L4T,
16:21:13 ERROR : VisionWorks on Target Skipped. Due to its dependencies fail to install: CUDA Toolkit for L4T,
16:21:13 ERROR : Multimedia API Skipped. Due to its dependencies fail to install: CUDA Toolkit for L4T,

Could you help me check this? Thanks!

Hi steven_yang,

Please check following:

  1. Connect your TX1 device with an ethernet into a network that can access the Internet.
  2. Connect your TX1 device and host with a usb cable, and make sure the host machine has Internet access. Then run SDK Manager to install target components. SDK Manager will help you configure your host machine and Jetson device so that the Jetson device can access the Internet via host.

Hi carolyuu,

Finally, I made it. Now I know that both the host machine and the target machine require the Internet access.

Thanks very much!!