Skip to content

Intalling TensorRT: Depends: libnvinfer8 (= 8.2.2-1+cuda11.4) but it is not going to be installed #1741

@niclastrelle

Description

@niclastrelle

I do have a docker container with the following environment:

  • OS: Linux Ubuntu 18.04
  • Base Image: pytorch/pytorch:1.9.1-cuda11.1-cudnn8-runtime
  • GPU: Tesla K80
  • Cuda Version: 11.1
  • PyTorch Version: 1.9.1
  • downloaded .deb: nv-tensorrt-repo-ubuntu1804-cuda11.4-trt8.2.2.1-ga-20211214_1-1_amd64.deb

information from the downloaded .deb:
TensorRT 8.2 GA Update 1 for Ubuntu 18.04 and CUDA 11.0, 11.1, 11.2, 11.3, 11.4 and 11.5 DEB local repo Package

As I followed the installing instructions on the Nvidia Webside an error ocurred:

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:
 python3-libnvinfer : Depends: libnvinfer8 (= 8.2.2-1+cuda11.4) but it is not going to be installed
                      Depends: libnvinfer-plugin8 (= 8.2.2-1+cuda11.4) but it is not going to be installed
                      Depends: libnvparsers8 (= 8.2.2-1+cuda11.4) but it is not going to be installed
                      Depends: libnvonnxparsers8 (= 8.2.2-1+cuda11.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions