Unable to install TensorRT on Jetson Nano

Description

Failed to install TensorRT on Jetson Nano 2 GB.

Environment

Product: Jetson Nano 2GB
TensorRT Version: Lateast
GPU Type: Jetson Nano
Nvidia Driver Version: -
CUDA Version: 10.2
CUDNN Version: 8
Operating System + Version: Ubuntu 18
Python Version (if applicable): -
TensorFlow Version (if applicable): -
PyTorch Version (if applicable): -
Baremetal or Container (if container which image + tag): -
Jetpack: # R32 (release), REVISION: 7.3, GCID: 31982016, BOARD: t210ref, EABI: aarch64, DATE: Tue Nov 22 17:30:08 UTC 2022

Relevant Files

n/a

Steps To Reproduce

$ sudo apt install nvidia-tensorrt -y --fix-missing

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
graphsurgeon-tf libnvinfer-bin libnvinfer-dev libnvinfer-doc libnvinfer-plugin-dev libnvinfer-plugin8 libnvinfer-samples libnvinfer8 libnvonnxparsers-dev libnvonnxparsers8 libnvparsers-dev libnvparsers8 python3-libnvinfer python3-libnvinfer-dev tensorrt uff-converter-tf
The following NEW packages will be installed:
graphsurgeon-tf libnvinfer-bin libnvinfer-dev libnvinfer-doc libnvinfer-plugin-dev libnvinfer-plugin8 libnvinfer-samples libnvinfer8 libnvonnxparsers-dev libnvonnxparsers8 libnvparsers-dev libnvparsers8 nvidia-tensorrt python3-libnvinfer python3-libnvinfer-dev tensorrt
uff-converter-tf
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 87,6 MB/629 MB of archives.
After this operation, 1 188 MB of additional disk space will be used.
Get:1 https://repo.download.nvidia.com/jetson/common r32.7/main arm64 libnvinfer8 arm64 8.2.1-1+cuda10.2 [70,5 MB]
Err:1 https://repo.download.nvidia.com/jetson/common r32.7/main arm64 libnvinfer8 arm64 8.2.1-1+cuda10.2
File has unexpected size (69968216 != 70510092). Mirror sync in progress? [IP: 23.73.4.69 443]
Hashes of expected file:

  • SHA256:13bc5c1e28a537972a24f7573b7196d399f51f2badf069afd2ed670b41868414
  • SHA1:29e1489d3aabf8b8e961ebd701d7b1e28d28d5ea [weak]
  • MD5Sum:8f19164b586c889caf8079c5f4a6c2e9 [weak]
  • Filesize:70510092 [weak]
    Get:2 https://repo.download.nvidia.com/jetson/common r32.7/main arm64 libnvonnxparsers8 arm64 8.2.1-1+cuda10.2 [620 kB]
    Err:2 https://repo.download.nvidia.com/jetson/common r32.7/main arm64 libnvonnxparsers8 arm64 8.2.1-1+cuda10.2
    File has unexpected size (621574 != 620300). Mirror sync in progress? [IP: 23.73.4.69 443]
    Hashes of expected file:
  • SHA256:440892db8de481677f5b91e78ca8f0a202e3f2447e0fa7e508870f72acf9e071
  • SHA1:82f8d135cec0b728b12d1221f08b7b8e698d3e24 [weak]
  • MD5Sum:044b77af8981ab49736dd6854a80f322 [weak]
  • Filesize:620300 [weak]
    Get:3 https://repo.download.nvidia.com/jetson/common r32.7/main arm64 graphsurgeon-tf arm64 8.2.1-1+cuda10.2 [13,3 kB]
    Err:3 https://repo.download.nvidia.com/jetson/common r32.7/main arm64 graphsurgeon-tf arm64 8.2.1-1+cuda10.2
    File has unexpected size (14578 != 13268). Mirror sync in progress? [IP: 23.73.4.69 443]
    Hashes of expected file:
  • SHA256:e28a9687f28ca7f2c2fa96df6551b63914f02d39f7977a6942b2b747b36e5ce7
  • SHA1:a69d139e149739fa92ddcdfb26da4fb43e2b1132 [weak]
  • MD5Sum:7d50b82918fb4b7e863130ac3230cc87 [weak]
  • Filesize:13268 [weak]
    .
    .
    .

Hi,

We are moving this post to the Jetson Nano forum to get better help.

Thank you.

Hi @disarmed, can you try running sudo apt-get update again? Typically that “mirror sync” message means to try again later, when the apt server is updating.

Also, if you are using the SD card image for Jetson Nano 2GB Developer Kit, it already comes with CUDA/cuDNN/TensorRT pre-installed.

Thanks, you are right @dusty_nv. The update worked out after a while. The error message seems right. I was to eager to get my code running. :)

I’ve read a number of posts with similar problem, no one really gave an explanation how they solved it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.