The following packages have unmet dependencies:
tensorrt : Depends: libnvinfer8 (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvinfer-plugin8 (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvparsers8 (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvonnxparsers8 (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvinfer-bin (= 8.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-dev (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvinfer-plugin-dev (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvparsers-dev (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvonnxparsers-dev (= 8.0.0-1+cuda10.2) but 8.0.0-1+cuda11.3 is to be installed
Depends: libnvinfer-samples (= 8.0.0-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-doc (= 8.0.0-1+cuda10.2) but it is not going to be installed
Please make sure you downloaded correct deb package suitable for your CUDA version. or you can upgrade CUDA version to 11.3 and install 11.3 supported TensorRT package. https://developer.nvidia.com/nvidia-tensorrt-8x-download
Thanks for the suggestion. I did download the 10.2 version which makes me wonder why I am getting the above error message.
I will try upgrading to 11.3.
Hi @fjoseph , I hit the same problem with ubuntu16.04 and cuda10.2. I found a possible solution that we can install tensorrt and its dependencies one by one manually. The following commands work well on my machine and hope they are helpful to you.
I am facing a similar issue while tring to build TensorRT OSS latest release (8.0.1). An error pops when running make -j.
These are my systems variables:
TensorRT Version : 8.0.1.6 GPU Type : Nvidia RTX 2060 Nvidia Driver Version : 470.42.01 CUDA Version : 11.3 CUDNN Version : 8.2.1 Operating System + Version : Ubuntu 20.04 LTS Python Version (if applicable) : 3.8.10 TensorFlow Version (if applicable) : 2.5 Cmake version: 3.17
run command dpkg -i nv-tensorrt-repo-ubuntu1604-cuda10.2-trt8.0.1.6-ga-20210626_1-1_amd64.deb and you will find all deb files in dir /var/nv-tensorrt-repo-ubuntu1604-cuda10.2-trt8.0.1.6-ga-20210626