DeepStream 6.0 ubuntu 20.04 GTX1060 install error

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)GPU
**• DeepStream Version 6.0
**• TensorRT Version 8.2.1 GA
**• NVIDIA GPU Driver Version (valid for GPU only) 470.82.01
**• Issue Type( questions, new requirements, bugs) questions
**• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
ubuntu 20.04 GTX1060
sudo apt-get install ./deepstream-6.0_6.0-1_amd64.deb
The following packages have unsatisfied dependencies:
Deepstrain-6.0: dependency: cuda-cudart-11-1, but it cannot be installed
Dependency: cuda-cudart-dev-11-1 but cannot install it dependency: libnpp-11-1 but cannot install it
Dependency: libnpp-dev-11-1, but it cannot be installed
Dependency: libnvinfer7 (> = 7.2.1) but cannot install it dependency: libnvparsers7 (> = 7.2.1) but cannot install it
Dependency: libnvonnxparsers7 (> = 7.2.1) but cannot install it dependency: libnvinfer-plugin7 (> = 7.2.1) but cannot install it
E: The error cannot be fixed because you require some packages to remain as they are, that is, they break the dependencies between packages.

**• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
ubuntu 20.04 GTX1060
Why am I prompted to install CUDA 11.1 and tensort 7.2?

The following packages have unsatisfied dependencies:

Deepstrain-6.0: dependency: cuda-cudart-11-1, but it cannot be installed

Dependency: cuda-cudart-dev-11-1 but cannot install it dependency: libnpp-11-1 but cannot install it

Dependency: libnpp-dev-11-1, but it cannot be installed

Dependency: libnvinfer7 (> = 7.2.1) but cannot install it dependency: libnvparsers7 (> = 7.2.1) but cannot install it

Dependency: libnvonnxparsers7 (> = 7.2.1) but cannot install it dependency: libnvinfer-plugin7 (> = 7.2.1) but cannot install it

E: The error cannot be fixed because you require some packages to remain as they are, that is, they break the dependencies between packages.

Please remove TensorRT 8.2.1 and install 8.0.1 and try again.

Install TensorRT 8.0.1

Following are the steps to install TensorRT 8.0.1:

  1. Run the following commands:

    $ echo “deb Index of /compute/cuda/repos/ubuntu1804/x86_64 /” | sudo tee /etc/apt/sources.list.d/cuda-repo.list
    $ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
    $ sudo apt-key add 7fa2af80.pub
    $ sudo apt-get update

  2. Download TensorRT 8.0.1 GA for Ubuntu 18.04 and CUDA 11.3 DEB local repo package from: https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/8.0.1/local_repos/nv-tensorrt-repo-ubuntu1804-cuda11.3-trt8.0.1.6-ga-20210626_1-1_amd64.deb

  3. Run the following commands to install TensorRT 8.0.1:
    $ sudo dpkg -i nv-tensorrt-repo-ubuntu1804-cuda11.3-trt8.0.1.6-ga-20210626_1-1_amd64.deb
    $ sudo apt-key add /var/nv-tensorrt-repo-ubuntu1804-cuda11.3-trt8.0.1.6-ga-20210626/7fa2af80.pub
    $ sudo apt-get update

  4. $ sudo apt-get install libnvinfer8=8.0.1-1+cuda11.3 libnvinfer-plugin8=8.0.1-1+cuda11.3 libnvparsers8=8.0.1-1+cuda11.3 libnvonnxparsers8=8.0.1-1+cuda11.3 libnvinfer-bin=8.0.1-1+cuda11.3 libnvinfer-dev=8.0.1-1+cuda11.3 libnvinfer-plugin-dev=8.0.1-1+cuda11.3 libnvparsers-dev=8.0.1-1+cuda11.3 libnvonnxparsers-dev=8.0.1-1+cuda11.3 libnvinfer-samples=8.0.1-1+cuda11.3 libnvinfer-doc=8.0.1-1+cuda11.3


Tensort 8.0.1 is already installed Or does it suggest that tensorrt 7 is missing。

Did you download the right package? i guess it should be 6.0 EA package you used?


There should be nothing wrong with GA

Deepstream version, not TensorRT.


Downloaded here

Yes. but your package seems not the one downloaded from here. please check.

This is my environments with this package to install.
The following packages have unmet dependencies:
deepstream-6.0 : Depends: cuda-cudart-11-4 but it is not installable
Depends: cuda-cudart-dev-11-4 but it is not installable
Depends: libnpp-11-4 but it is not installable
Depends: libnpp-dev-11-4 but it is not installable
Depends: gstreamer1.0-libav but it is not installable
Depends: gstreamer1.0-plugins-bad but it is not installable
Depends: gstreamer1.0-plugins-good but it is not installable
Depends: libcairo2 (>= 1.15.10) but it is not installable
Depends: libglib2.0-0 (>= 2.56.4) but it is not installable
Depends: libgstreamer1.0-0 (>= 1.14.1) but it is not installable
Depends: libgstreamer1.0-dev (>= 1.14.1) but it is not installable
Depends: libgstreamer-plugins-base1.0-0 (>= 1.14.1) but it is not installable
Depends: libgstreamer-plugins-base1.0-dev (>= 1.14.1) but it is not installable
Depends: libnvinfer8 (>= 8.0.0) but it is not installable
Depends: libnvinfer-dev (>= 8.0.0) but it is not installable
Depends: libnvparsers8 (>= 8.0.0) but it is not installable
Depends: libnvparsers-dev (>= 8.0.0) but it is not installable
Depends: libnvonnxparsers8 (>= 8.0.0) but it is not installable
Depends: libnvonnxparsers-dev (>= 8.0.0) but it is not installable
Depends: libnvinfer-plugin8 (>= 8.0.0) but it is not installable
Depends: libnvinfer-plugin-dev (>= 8.0.0) but it is not installable
Depends: libpangocairo-1.0-0 (>= 1.40.14) but it is not installable
Depends: libx11-6 but it is not installable
Depends: libgstrtspserver-1.0-0 but it is not installable
E: Unable to correct problems, you have held broken packages.

I’ll try reinstalling Ubuntu 20.04

You must install the following components:

  • Ubuntu 18.04
  • GStreamer 1.14.5
  • NVIDIA driver 470.63.01
  • CUDA 11.4
  • TensorRT 8.0.1

My computer does not support Ubuntu 18.04. Many functions on Ubuntu 18.04 are abnormal

You can use docker.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_docker_containers.html

docker pull nvcr.io/nvidia/deepstream:6.0-samples

I tried this, but there was no response after implementation。

sudo usermod -aG docker “user name”

I’ll try reinstalling Ubuntu 20.04,The same problem,I don’t understand why zhey?


Install:
1、


2、

3、

sudo usermod -aG docker “test”
docker pull nvcr.io/nvidia/deepstream:6.0-samples
deepstream-app command not found

run the command in docker container.
docker run --rm -it --gpus all image //get image by docker images

I installed all the dependencies you said.

As said, deepstream 6.0 needs ubuntu 18.04