SDK Manager Can't Download / Corrupt .mtd file

When I try to run the download and installer in SDK Manager 1.4, I continually get the following errors for each package I am trying to download and install on my Jetson AGX:

ERROR: OpenCV on Target: The .mtd file is corrupt. Start a new download.

ERROR: OpenCV on Target: DevZone get download url failed: RequestError: self signed certificate in certificate chain.

I think it has to do with the SDK manager not being able to be passed the necessary certificate to access the web locations where these files are stored. Is it possible to manually download these files not through SDK manager and then do an offline install? Or does anyone know of a simpler fix.

Thanks!

1 Like

Hi jimkel54,

Sorry for the late response, have you downloaded and ran the SDK manager to do the installation successfully?

Yes I downloaded and ran SDK manager for the install. I went through and manually downloaded all of the deb packages and that seemed to fix this issue however another issue arose.

I have successfully flashed the AGX with Jetson 4.5, however I cannot install any of the Jetson SDK components.

Some examples of error messages I am getting:

13:31:41 INFO: Target Deb package [{libnvinfer7 7.1.3-1+cuda10.2}] not installed; [deb_name]: libnvinfer7_7.1.3-1+cuda10.2_arm64.deb
13:31:41 ERROR: command terminated with error

(This repeats for all packages)

13:32:50 ERROR: CUDA Toolkit for L4T: W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to ports.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to ports.ubuntu.com:80 (91.189.88.152), connection timed out
13:32:50 ERROR: CUDA Toolkit for L4T: W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
13:32:50 ERROR: CUDA Toolkit for L4T: W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
13:32:50 ERROR: CUDA Toolkit for L4T: W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
13:32:50 ERROR: CUDA Toolkit for L4T: W: Failed to fetch https://repo.download.nvidia.com/jetson/common/dists/r32.5/InRelease Could not connect to repo.download.nvidia.com:443 (23.199.49.56), connection timed out Could not connect to repo.download.nvidia.com:443 (23.199.49.34), connection timed out
13:32:50 ERROR: CUDA Toolkit for L4T: W: Failed to fetch https://repo.download.nvidia.com/jetson/t194/dists/r32.5/InRelease Unable to connect to repo.download.nvidia.com:https:
13:32:50 ERROR: CUDA Toolkit for L4T: W: Some index files failed to download. They have been ignored, or old ones used instead.

13:32:50 ERROR: CUDA Toolkit for L4T: E: Unable to correct problems, you have held broken packages.
13:32:50 INFO: CUDA Toolkit for L4T: Unhandled error when running sudo apt-get -y install cuda-toolkit-10-2
13:32:50 INFO: CUDA Toolkit for L4T: [ Package Install Finished with Error ]
13:32:50 INFO: CUDA Toolkit for L4T: [ NV_L4T_CUDA_TARGET_POST_INSTALL_COMP Install took 1m6s ]
13:32:50 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-2-local-10.2.89_1.0-1_arm64.deb” 5; sleep 5; ; safe_apt_install "sudo apt-get -y install cuda-toolkit-10-2 " 5; safe_apt_install “sudo apt-get purge -y cuda-repo-l4t-10-2-local-10.2.89” 5; [deb_path]: /home/lambda/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-10-2-local-10.2.89_1.0-1_arm64.deb
13:32:50 ERROR: CUDA Toolkit for L4T: command terminated with error
13:32:50 SUMMARY: CUDA Toolkit for L4T: First Error: APT system is broken and requires manual fix

Hi jimkel54 and kayccc,

I have exactly the same issue with downloading the SDK Components using SDK Manager. I have tried downloading them manually (wget) as got the following response:

$ wget https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/OpenCV-4.1.1-2-gd5a58aa75-aarch64-licenses.deb
Resolving developer.nvidia.com (developer.nvidia.com)… 152.199.16.29
Connecting to developer.nvidia.com (developer.nvidia.com)|152.199.16.29|:443… connected.
HTTP request sent, awaiting response… 403 Forbidden
2021-02-09 21:36:18 ERROR 403: Forbidden.

Any help appreciated.
Thanks

This is network issue. Can you please check your network environment and make sure the Jetson device can access internet, then retry?

Hello again,

I didnt hear anything back on my question, however I see there is a very different login process now for the SDK Manager - that required a login in parallel on a browser.

Now SDK Manager is happily downloading all the SDK components - so someone at NVIDIA has fixed this (thank you).

Over and out on this one.
Cheers

1 Like