[DeepStream 6.0] Unable to install Cuda 11.4.1 on Ubutu 18:04 Container

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 470.63.01
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)


I am trying to create DeepStream image with triton and facing challenges to install Cuda 11.4.1, followed DeepStream installation guidelines. Also followed installation steps for Cuda from CUDA Toolkit 11.4 Update 1 Downloads | NVIDIA Developer
Unpacking xfonts-encodings (1:1.0.4-2) …
Selecting previously unselected package xfonts-utils.
Preparing to unpack …/132-xfonts-utils_1%3a7.7+6_amd64.deb …
Unpacking xfonts-utils (1:7.7+6) …
Selecting previously unselected package xfonts-base.
Preparing to unpack …/133-xfonts-base_1%3a1.0.4+nmu1_all.deb …
Unpacking xfonts-base (1:1.0.4+nmu1) …
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@tyco-streaming-poc:/app/cuda# nvidia-smi
Failed to initialize NVML: Driver/library version mismatch

Can you please guide how can I install Cuda to run Deepstream app?

Try if this helps:

Thanks @amycao,

I tried with sudo apt install --fix-broken command but again we run python 3.6 installation script provide d as part of container image it comes again. never got success to install gst_python.

Also Nvidia driver version recommended 470.63.01 as part of installation of DeepStream 6.0 but it is looking for 470.57.02, is it a problem?

one thing I did not understand why python3.8 is installed as part of container image Deepstream6.0-triton which is on top of Ubuntu 18.04.

Dilip Patel

You can use our base docker to build custom docker
docker pull nvcr.io/nvidia/deepstream:6.0-base

base docker (contains only the runtime libraries and GStreamer plugins. Can be used as a base to build custom dockers for DeepStream applications)

Thanks @amycao for quick response. Let me try and get back to you if any issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.