JetPack4.3 burn failed

Hi everyone,

I use JetPack4.3 burn filesystem and applicaiton to TX2 module,but it failed, teh sdkmanager output log as blow:

15:31:43 INFO : CUDA Toolkit for L4T : *begin sudo apt-get -y update, 5
15:31:43 INFO : CUDA Toolkit for L4T : Get:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
15:31:43 INFO : CUDA Toolkit for L4T : Ign:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
15:31:43 INFO : CUDA Toolkit for L4T : Get:2 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
15:31:43 INFO : CUDA Toolkit for L4T : Get:2 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
15:31:43 INFO : CUDA Toolkit for L4T : Get:3 file:/var/cuda-repo-10-0-local-10.0.326 Release.gpg [819 B]
15:31:43 INFO : CUDA Toolkit for L4T : Get:3 file:/var/cuda-repo-10-0-local-10.0.326 Release.gpg [819 B]
15:31:44 INFO : CUDA Toolkit for L4T : Get:4 file:/var/cuda-repo-10-0-local-10.0.326 Packages [11.3 kB]
15:31:44 INFO : CUDA Toolkit for L4T : Get:5 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]
15:31:45 INFO : CUDA Toolkit for L4T : Get:6 https://repo.download.nvidia.cn/jetson/common r32 InRelease [2,541 B]
15:31:46 INFO : CUDA Toolkit for L4T : Get:7 https://repo.download.nvidia.cn/jetson/common r32/main arm64 Packages [13.0 kB]
15:31:46 INFO : CUDA Toolkit for L4T : Get:8 https://repo.download.nvidia.cn/jetson/t186 r32 InRelease [2,554 B]
15:31:46 INFO : CUDA Toolkit for L4T : Get:9 https://repo.download.nvidia.cn/jetson/t186 r32/main arm64 Packages [7,930 B]
15:31:46 INFO : CUDA Toolkit for L4T : Err:9 https://repo.download.nvidia.cn/jetson/t186 r32/main arm64 Packages
15:31:46 INFO : CUDA Toolkit for L4T : File has unexpected size (8084 != 7930). Mirror sync in progress? [IP: 27.148.207.28 443]
15:31:46 INFO : CUDA Toolkit for L4T : Hashes of expected file:
15:31:46 INFO : CUDA Toolkit for L4T : - Filesize:7930 [weak]
15:31:46 INFO : CUDA Toolkit for L4T : - SHA256:a80383566cab2ea7baa68c7c17ac6f581b7ec47d376d832c1824d2fd1ab8916e
15:31:46 INFO : CUDA Toolkit for L4T : - SHA1:268b9c78b441a358f804dab1b1c67c7c91ffbad7 [weak]
15:31:46 INFO : CUDA Toolkit for L4T : - MD5Sum:6d1e8cb93e0f23410eecfd8007d2e4df [weak]
15:31:46 INFO : CUDA Toolkit for L4T : Release file created at: Tue, 17 Dec 2019 23:52:06 +0000

How to fix it? Thanks.

Hi everyone,

The TX2 module install CUDA faild the terminal log as:

17:50:01 INFO : CUDA Toolkit for L4T : Unhandled error when running sudo apt-get -y update
17:50:01 INFO : CUDA Toolkit for L4T : exit status 1
17:50:01 INFO : CUDA Toolkit for L4T : [ Package Install Finished with Error ]
17:50:01 INFO : CUDA Toolkit for L4T : [ 17.42 MB used. Disk Avail: 1491.10 GB ]
17:50:01 INFO : CUDA Toolkit for L4T : [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 2h18m53s ]
17:50:01 ERROR : CUDA Toolkit for L4T : : 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 finished with error
17:50:01 INFO : CUDA Toolkit for L4T :
17:50:01 ERROR : CUDA Toolkit for L4T : command terminated with error
17:50:02 ERROR : CUDA Toolkit for L4T : install ‘CUDA Toolkit for L4T’ failure, command < cd ‘/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.3_Linux_P3310’ ; ‘/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter’ -a=‘install’ -c=‘eyJpZCI6Ik5WX0w0VF9DVURBX1RBUkdFVF9QT1NUX0lOU1RBTExfQ09NUCIsIm5hbWUiOiJDVURBIFRvb2xraXQgZm9yIEw0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ZXRQYWNrXzQuM19MaW51eF9QMzMxMCIsImJ1bmRsZVRpdGxlIjoiSmV0UGFja180LjNfTGludXgiLCJpbnN0YWxsUm9vdCI6Ii9ob21lL3VidW50dS9udmlkaWEvbnZpZGlhX3NkayIsImJvYXJkSUQiOiJQMzMxMCIsImlzRHJ5UnVuIjpmYWxzZX0=’ -i=‘NV_L4T_CUDA_TARGET_POST_INSTALL_COMP’ -v=‘10.0’ -l=’/home/ubuntu/nvidia/nvidia_sdk/JetPack_4.3_Linux_P3310’ -L=’/home/ubuntu/.nvsdkm/logs/JetPack_4.3_Linux’ -p=‘20315’ -t=‘P3310’ -e=’/home/ubuntu/work/JetsonPlatform/JetPack4.3/Downloads/cuda-repo-l4t-10-0-local-10.0.326_1.0-1_arm64.deb’ > terminated with error

Looks like you have network issues:

15:31:46 INFO : CUDA Toolkit for L4T : <b>File has unexpected size</b> (8084 != 7930). Mirror sync in progress? [IP: 27.148.207.28 443]

That particular IP address (27.148.207.28, port 443) may have some issues. The error was not one of a missing file, but was instead one of an incorrect download.

Hi kenny_cz,

After fixed network issue, can you install success now?
Thanks!

Hi carolyuu,

I did not fiex the network issue, I can install now, but I do not know why I can install.

I have the same problem.
Hi,Carolyuu, do you know hot to fix the network problem?

My tx2 installation appears like the following :
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch https://repo.download.nvidia.cn/jetson/t186/dists/r32/main/binary-arm64/Packages.gz File has unexpected size (8084 != 7930). Mirror sync in progress? [IP: 120.226.193.66 443]
Hashes of expected file:
- Filesize:7930 [weak]
- SHA256:a80383566cab2ea7baa68c7c17ac6f581b7ec47d376d832c1824d2fd1ab8916e
- SHA1:268b9c78b441a358f804dab1b1c67c7c91ffbad7 [weak]
- MD5Sum:6d1e8cb93e0f23410eecfd8007d2e4df [weak]
Release file created at: Tue, 17 Dec 2019 23:52:06 +0000
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

My problem did not appear with CUDA, it appeared with the installation of opencv.
And if I try sudo apt-get update, the same error appears.

I do not know whether a different URL should be used, nor if the server itself has an issue (such as being in the middle of an update or caching wrong), but look at these two log lines:

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/<b>binary-amd64</b>/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch https://repo.download.nvidia.cn/jetson/t186/dists/r32/main/binary-arm64/Packages.gz File has unexpected size (8084 != 7930). <b>Mirror sync in progress? [</b>IP: 120.226.193.66 443]

In the first URL I went to the server URL and this server does have arm and arm64, but does not provide the desktop PC architecture amd64 files. There server is there, it just doesn’t have that content. In the second URL the file is there, but something changed or corrupted (and the actual error message mentions “Mirror sync in progress?”).

Possibly the manifest file could point at a different server, but the ubuntu.com is itself not controlled by NVIDIA. The “repo.download.nvidia.cn” looks like it is NVIDIA’s server, and the file was found, but something else went wrong. As mentioned this latter could be caching or other network issues (and thus may be a temporary issue after an update completes or a cache is updated).