TensorRT Installation Problem

Hello NVIDIA Team,

I’m currently struggling while attempting to install TensorRT on my x86 machine running Ubuntu 22.04 using this guide.

I downloaded the following debian package: nv-tensorrt-repo-ubuntu2004-cuda11.6-trt8.4.0.6-ea-20220212_1-1_amd64.deb and followed all the instructions, but when I execute sudo apt-get install tensorrt, I get the following output:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libnvinfer-dev : Depends: libcublas.so.11-dev but it is not installable or
                           libcublas-dev-11-1 but it is not installable or
                           libcublas-dev-11-0 but it is not installable
 libnvinfer-samples : Depends: libcudart.so.11.0-dev but it is not installable or
                               cuda-cudart-dev-11-1 but it is not installable or
                               cuda-cudart-dev-11-0 but it is not installable or
                               cuda-cudart-cross-amd64-11-6 but it is not installable
                      Depends: cuda-nvcc-11-1 but it is not installable or
                               cuda-nvcc-11-2 but it is not installable or
                               cuda-nvcc-11-3 but it is not installable or
                               cuda-nvcc-11-4 but it is not installable or
                               cuda-nvcc-11-5 but it is not installable or
                               cuda-nvcc-11-6 but it is not installable or
                               cuda-nvcc-11-0 but it is not installable
 libnvinfer8 : Depends: libcublas.so.11 but it is not installable or
                        libcublas-11-1 but it is not installable or
                        libcublas-11-0 but it is not installable
E: Unable to correct problems, you have held broken packages.

So the problem here is - please correct me if I’m wrong - that some dependencies for tensorRT are not installed and also for some reason cannot be installed by my package manager. I have noticed, that there are no debian packages specifically for ubuntu 22.04. Could this be the reason for the dependency issue above?

Output of nvcc --version:

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Thu_Nov_18_09:45:30_PST_2021 Cuda compilation tools, release 11.5, V11.5.119 Build cuda_11.5.r11.5/compiler.30672275_0

Output of nvidia-smi:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.129.06   Driver Version: 470.129.06   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| 30%   50C    P0    46W / 220W |      0MiB /  7973MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Let me know if you need any additional information.
Thank you already
Alex

Looks like this is an x86 issue.
I’m moving your topic to the TensorRT board for better support.

1 Like

Hi,

Yes, for ubuntu 22.04, the TensorRT package is not yet available.

Thank you.

Hi,

May I ask you if there is a planned release date for an Ubuntu 22.04 build?

Sincerely,
Norbert

Hi,

This support will be added in the next release. Currently, we do not have information on ETA.
Please stay tuned.

Thank you.

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