Update-alternatives error when installing deepstream 6.2

Please provide complete information as applicable to your setup.

dGPU
deepstream-6.2
TensorRT 10.1.27-1+cuda12.4

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• 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)

Hi, when I try sudo ./install.sh, I get the following error

update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/lib/gst-plugins doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/lib/libv4l/plugins/libcuvidv4l2_plugin.so doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-appsrc-cuda-test doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-avsync-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-server-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/lib/libnvv4l2.so doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/lib/libnvv4lconvert.so doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-audio doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-asr-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-asr-tts-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-test1-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-test2-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-test3-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-test4-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-test5-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-testsr-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-transfer-learning-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-user-metadata-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-dewarper-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-nvof-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-image-decode-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-gst-metadata-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-opencv-test doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-preprocess-test doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-segmentation-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-image-meta-test doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-appsrc-test doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-can-orientation-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-nvdsanalytics-test doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-3d-action-recognition doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-3d-depth-camera doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-lidar-inference-app doesn’t exist
update-alternatives: error: alternative path /opt/nvidia/deepstream/deepstream-6.2/bin/deepstream-nmos-app doesn’t exist

I think it’s because your installation directory is wrong.

Deepstream needs to be installed in the /opt directory.

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Installation.html

Also make sure the versions of TRT and CUDA match with DeepStream, as described in this link

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Installation.html#id9

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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