Error installing DRIVEWORKS 5.2.6 on Ubuntu 18.04 LTS

Errors while instlaling DRIVEWORKS on Linux host using sdkmanager. Here is the console log:

13:37:56 INFO: cuDNN x86 - host: Hit:15 Index of /ubuntu bionic-security InRelease

13:37:56 INFO: cuDNN x86 - host: Hit:16 Index of /ubuntu bionic-updates InRelease

13:37:56 INFO: cuDNN x86 - host: Hit:17 Index of /git-core/ppa/ubuntu bionic InRelease

13:37:56 INFO: cuDNN x86 - host: Hit:19 Index of /ubuntu bionic-backports InRelease

13:38:02 INFO: cuDNN x86 - host: Reading package lists…

13:38:03 INFO: cuDNN x86 - host: Reading package lists…

13:38:03 INFO: cuDNN x86 - host: Building dependency tree…

13:38:03 INFO: cuDNN x86 - host: Reading state information…

13:38:03 ERROR: cuDNN x86 - host: E: Version ‘7.6*’ for ‘libcudnn7-samples’ was not found

13:38:03 ERROR: cuDNN x86 - host: command terminated with error

14:06:55 INFO: cuDNN x86 - host: verifying checksum of /home/devinem/Downloads/nvidia/sdkm_downloads/cudnn-local-repo-ubuntu1804-7.6.6.415_1.0-1_amd64.deb

14:06:55 INFO: cuDNN x86 - host: Found file /home/devinem/Downloads/nvidia/sdkm_downloads/cudnn-local-repo-ubuntu1804-7.6.6.415_1.0-1_amd64.deb with correct checksum, skip downloading.

14:07:06 INFO: cuDNN x86 - host: verifying checksum of /home/devinem/Downloads/nvidia/sdkm_downloads/cudnn-local-repo-ubuntu1804-7.6.6.415_1.0-1_amd64.deb

14:07:07 INFO: cuDNN x86 - host: Found file /home/devinem/Downloads/nvidia/sdkm_downloads/cudnn-local-repo-ubuntu1804-7.6.6.415_1.0-1_amd64.deb with correct checksum, skip downloading.

14:07:07 DEBUG: cuDNN x86 - host: using adapter to install NV_CUDNN_HOST_COMP@host to /home/devinem/nvidia/nvidia_sdk/DRIVE_OS_5.2.6_SDK_Linux_OSWithSamples

14:07:07 INFO: cuDNN x86 - host: exec_command: sudo -E apt-get install -y --allow-downgrades ‘/home/devinem/Downloads/nvidia/sdkm_downloads/cudnn-local-repo-ubuntu1804-7.6.6.415_1.0-1_amd64.deb’

14:07:07 INFO: cuDNN x86 - host: [host] [sudo] password for devinem:

14:07:07 INFO: cuDNN x86 - host: Reading package lists…

14:07:08 INFO: cuDNN x86 - host: Building dependency tree…

14:07:08 INFO: cuDNN x86 - host: Reading state information…

14:07:08 INFO: cuDNN x86 - host: cudnn-local-repo-ubuntu1804-7.6.6.415 is already the newest version (1.0-1).

14:07:08 INFO: cuDNN x86 - host: 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

14:07:08 INFO: cuDNN x86 - host: exec_command: dpkg -L cudnn-local-repo-ubuntu1804-7.6.6.415 | grep ‘.pub$’ | tr -d ‘\n’

14:07:08 INFO: cuDNN x86 - host: exec_command: sudo apt-get check

14:07:08 INFO: cuDNN x86 - host: Reading package lists…

14:07:08 INFO: cuDNN x86 - host: Building dependency tree…

14:07:08 INFO: cuDNN x86 - host: Reading state information…

14:07:08 INFO: cuDNN x86 - host: exec_command: sudo apt-get update; sleep 0.5; sudo apt-get -y --allow-downgrades --allow-downgrades install libcudnn7=7.6* libcudnn7-dev=7.6* libcudnn7-samples=7.6*

14:07:08 INFO: cuDNN x86 - host: Get:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease

14:07:08 INFO: cuDNN x86 - host: Get:4 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]

14:07:08 INFO: cuDNN x86 - host: Get:4 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]

14:07:08 INFO: cuDNN x86 - host: Get:5 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]

14:07:08 INFO: cuDNN x86 - host: Get:6 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-d5l-cross-ga-20210409 Release [569 B]

14:07:08 INFO: cuDNN x86 - host: Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:9 Index of /repos/code/ stable InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:11 Index of /repos/ms-teams/ stable InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:13 Index of /ubuntu bionic InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:14 Index of /ubuntu bionic-security InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:16 Index of /ubuntu bionic-updates InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:17 Index of linux/ubuntu/ bionic InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:18 Index of /git-core/ppa/ubuntu bionic InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:19 Index of /ubuntu bionic-backports InRelease

14:07:09 INFO: cuDNN x86 - host: Hit:8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease

14:07:15 INFO: cuDNN x86 - host: Reading package lists…

14:07:15 INFO: cuDNN x86 - host: Reading package lists…

14:07:16 INFO: cuDNN x86 - host: Building dependency tree…

14:07:16 INFO: cuDNN x86 - host: Reading state information…

14:07:16 ERROR: cuDNN x86 - host: E: Version ‘7.6*’ for ‘libcudnn7-samples’ was not found

14:07:16 ERROR: cuDNN x86 - host: command terminated with error

INSTALLATION FAILED
Please review the terminal tab for details. Resolve and RETRY.

EXPORT LOGS

RETRY

FAILED ITEMS

STOP TRYING

Copyright © 2022, NVIDIA CORPORATION. All rights reserved. | NVIDIA Developer

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.7.1.8928
other 1.7.9007

Host Machine Version
native Ubuntu 18.04
other

Dear @mike.devine,
Could you attach the sdkm logs (~/.nvsdkm/ folder)?

sdkm.log (231.9 KB)

Dear @mike.devine,
I notice you are trying to install DW 4.0 on another thread. Is the issue with installation of DRIVE OS 5.2.6 fixed?
If not, could you share output of sudo apt-get update; sleep 0.5; sudo apt-get -y --allow-downgrades --allow-downgrades install libcudnn7=7.6* libcudnn7-dev=7.6* libcudnn7-samples=7.6* ?

I managed to get through this issue by a brute force uninstall of everything NVIDIA, repairing host installs, and then starting from scratch installing DRIVE OS.

Dear @mike.devine,
Could you please attach the folder ~/.nvsdkm/ as zip file?

Here is the log. I went through the process again just now. The sdkmanager part completes successfully, but the next step of installing the DRIVEWORKS deb’s fails. I will respond in the other thread with that error. sdkm.log (272.4 KB)

Dear @mike.devine,
It looks DRIVE OS 5.2.6 installed successfully on host.