Installing DriveOS 5.2.0 from DriveSoftware 10.0 on HostPC

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
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.5.0.7774
other

Host Machine Version
[+] native Ubuntu 18.04
other

I am trying to install DriveOS5.2.0 SDK on my HostPC and on my target eventually. From the installation guide, the migration path from DriveSoftware 10.0 to DriveOS5.2.0 is to install DriveOS5.1.12 and DriveOS5.1.15 first in that order. To install DriveOS5.1.12, it says contact NVIDIA representative.

My goal is to install DriveWorks V3.5. Can you please help me install DriveOSv5.1.12?

I also tried installing DriveOS 5.2.0 SDK from the SDK manager and it fails before step3 when checking for the system readiness. Not sure if i am seeing this problem due to the migration incompatibility from DriveSW10.0 to DriveOS5.2.0.

Thanks in advance.

Regards,
Rishit

Hi @rborad ,

DRIVE OS 5.2.0 Installation based on DRIVE Software 10 should be working.
The error is becasue SDK Manager detects apt on your host system is messed up (not in a good condition).
Please try the commands to see if fix it or get more details.
Thanks.

Thank you for the reply @VickNV .

Please find the problems i run into below when i try to run the command and follow the trail. It ends up in Errors with libnvinfer-consistency-dev-cross-aarch64 & libnvinfer-safe-dev-cross-aarh64

aceinna@aceinna-nvidia-laptop:~$ sudo -S apt-get update && sudo -S apt-get checkGet:1 file:/var/cuda-repo-10-2-local-10.2.187-440.101  InRelease
Ign:1 file:/var/cuda-repo-10-2-local-10.2.187-440.101  InRelease
Get:2 file:/var/cuda-repo-10-2-local-10.2.187-cross-aarch64  InRelease
Ign:2 file:/var/cuda-repo-10-2-local-10.2.187-cross-aarch64  InRelease
Get:3 file:/var/cuda-repo-10-2-local-10.2.19-430.17  InRelease
Ign:3 file:/var/cuda-repo-10-2-local-10.2.19-430.17  InRelease
Get:4 file:/var/cuda-repo-10-2-local-10.2.19-cross-aarch64  InRelease
Ign:4 file:/var/cuda-repo-10-2-local-10.2.19-cross-aarch64  InRelease
Get:5 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  InRelease
Ign:5 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  InRelease
Get:6 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724  InRelease
Ign:6 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724  InRelease
Get:7 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-x86-host-ga-20200724  InRelease
Ign:7 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-x86-host-ga-20200724  InRelease
Get:8 file:/var/cuda-repo-10-2-local-10.2.187-440.101  Release [574 B]         
Get:9 file:/var/cuda-repo-10-2-local-10.2.187-cross-aarch64  Release [574 B]   
Get:10 file:/var/cuda-repo-10-2-local-10.2.19-430.17  Release [574 B]          
Get:11 file:/var/cuda-repo-10-2-local-10.2.19-cross-aarch64  Release [574 B]   
Get:8 file:/var/cuda-repo-10-2-local-10.2.187-440.101  Release [574 B]         
Get:12 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  Release [574 B]
Get:9 file:/var/cuda-repo-10-2-local-10.2.187-cross-aarch64  Release [574 B]   
Get:13 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724  Release [574 B]
Get:14 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-x86-host-ga-20200724  Release [574 B]
Get:10 file:/var/cuda-repo-10-2-local-10.2.19-430.17  Release [574 B]          
Get:11 file:/var/cuda-repo-10-2-local-10.2.19-cross-aarch64  Release [574 B]   
Get:12 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  Release [574 B]
Get:13 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724  Release [574 B]
Get:14 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-x86-host-ga-20200724  Release [574 B]
Hit:17 http://us.archive.ubuntu.com/ubuntu bionic InRelease                    
Hit:18 https://download.docker.com/linux/ubuntu bionic InRelease               
Hit:19 http://security.ubuntu.com/ubuntu bionic-security InRelease             
Get:21 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
Hit:23 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease         
Get:25 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 163 kB in 2s (77.2 kB/s)                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libnvinfer-consistency-dev-cross-aarch64 : Depends: libnvinfer-dev-cross-aarch64 (= 6.3.1-1+cuda10.2) but it is not installed
 libnvinfer-safe-dev-cross-aarch64 : Depends: libnvinfer-dev-cross-aarch64 (= 6.3.1-1+cuda10.2) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


aceinna@aceinna-nvidia-laptop:~$ sudo -S apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  cuda-gpu-library-advisor-10-2 libjsoncpp1 librhash0 libuv1
  linux-hwe-5.4-headers-5.4.0-70 linux-hwe-5.4-headers-5.4.0-71 python3-click
  python3-colorama
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libnvinfer-dev-cross-aarch64
The following NEW packages will be installed:
  libnvinfer-dev-cross-aarch64
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
8 not fully installed or removed.
Need to get 0 B/43.1 MB of archives.
After this operation, 228 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 file:/var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724  libnvinfer-dev-cross-aarch64 6.3.1-1+cuda10.2 [43.1 MB]
(Reading database ... 315027 files and directories currently installed.)
Preparing to unpack .../libnvinfer-dev-cross-aarch64_6.3.1-1+cuda10.2_all.deb ...
Unpacking libnvinfer-dev-cross-aarch64 (6.3.1-1+cuda10.2) ...
dpkg: error processing archive /var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724/./libnvinfer-dev-cross-aarch64_6.3.1-1+cuda10.2_all.deb (--unpack):
 trying to overwrite '/usr/lib/aarch64-linux-gnu/stubs/libnvinfer.so', which is also in package libnvinfer5-cross-aarch64 5.1.4-1+cuda10.2
Errors were encountered while processing:
 /var/nv-tensorrt-repo-cuda10.2-trt6.3.1.3-d5l-cross-ga-20200724/./libnvinfer-dev-cross-aarch64_6.3.1-1+cuda10.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
aceinna@aceinna-nvidia-laptop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libnvinfer-consistency-dev-cross-aarch64:
 libnvinfer-consistency-dev-cross-aarch64 depends on libnvinfer-dev-cross-aarch64 (= 6.3.1-1+cuda10.2); however:
  Package libnvinfer-dev-cross-aarch64 is not installed.

dpkg: error processing package libnvinfer-consistency-dev-cross-aarch64 (--configure):
 dependency problems - leaving unconfigured
Setting up libnvinfer-safe6-cross-aarch64 (6.3.1-1+cuda10.2) ...
dpkg: dependency problems prevent configuration of libnvinfer-safe-dev-cross-aarch64:
 libnvinfer-safe-dev-cross-aarch64 depends on libnvinfer-dev-cross-aarch64 (= 6.3.1-1+cuda10.2); however:
  Package libnvinfer-dev-cross-aarch64 is not installed.

dpkg: error processing package libnvinfer-safe-dev-cross-aarch64 (--configure):
 dependency problems - leaving unconfigured
Setting up libnvinfer6-cross-aarch64 (6.3.1-1+cuda10.2) ...
Setting up libnvinfer-consistency6-cross-aarch64 (6.3.1-1+cuda10.2) ...
Setting up libnvparsers6-cross-aarch64 (6.3.1-1+cuda10.2) ...
Setting up libnvonnxparsers6-cross-aarch64 (6.3.1-1+cuda10.2) ...
Setting up libnvinfer-plugin6-cross-aarch64 (6.3.1-1+cuda10.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
/sbin/ldconfig.real: file /usr/local/driveworks-2.2/./targets/x86_64-Linux/lib/libnvisp_cuda.so is truncated

/sbin/ldconfig.real: file /usr/local/driveworks-2.2/./targets/x86_64-Linux/lib/libnvinfer.so.5.1.4 is truncated

/sbin/ldconfig.real: file /usr/local/driveworks-2.2/./targets/x86_64-Linux/lib/libnvinfer.so.5 is truncated

/sbin/ldconfig.real: /usr/local/driveworks-2.2/./targets/x86_64-Linux/lib/ is not a symbolic link

Errors were encountered while processing:
 libnvinfer-consistency-dev-cross-aarch64
 libnvinfer-safe-dev-cross-aarch64

Please see if Updating DriveOS 5.2 from drive software helps.

1 Like

It worked thank you

1 Like