Unable to install libnvinfer via the NVIDIA Machine Learning network repository


Consider the following Dockerfile:

FROM nvidia/cuda:10.0-base-ubuntu16.04
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        libnvinfer5=${TENSORRT_VERSION}-1+cuda10.0 && \
    apt-mark hold libnvinfer5 && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

It fails to build with the following error:

E: Unable to locate package libnvinfer5

Looks like the issue is that the new libnvinfer* packages are not declared in https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/Packages.gz

Thanks for looking into this,


Hi Guillaume,

Thanks for your patience, this issue has now been resolved. I was able to successfully run your sample Dockerfile now that the package list has been updated.

NVIDIA Enterprise Support