Description
I am getting the following error while trying to run the command:
sudo apt-get install tensorrt=8.5.3.1-1+cuda11.8
Reading package lists… Done
Building dependency tree
Reading state information… Done
tensorrt is already the newest version (8.5.3.1-1+cuda11.8).
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
tensorrt : Depends: libnvinfer8 (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvinfer-plugin8 (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvparsers8 (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvonnxparsers8 (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvinfer-bin (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvinfer-dev (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvinfer-plugin-dev (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvparsers-dev (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvonnxparsers-dev (= 8.5.3-1+cuda11.8) but it is not going to be installed
Depends: libnvinfer-samples (= 8.5.3-1+cuda11.8) but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
Environment
TensorRT Version: 8.5.3.1
GPU Type: RTX 3080
Nvidia Driver Version: 520
CUDA Version: 11.8
CUDNN Version: 8.6.0.163
Operating System + Version: Ubuntu 20.04
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):
Steps To Reproduce
os=“ubuntu2004”
tag=“8.5.3.1-cuda-11.8”
sudo dpkg -i nv-tensorrt-local-repo-${os}-${tag}_1.0-1_amd64.deb
sudo cp /var/nv-tensorrt-local-repo-${os}-${tag}/*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get install tensorrt=8.5.3.1-1+cuda11.8