After Updating SDKManager can't get a proper install

I am trying to get SDK Manager to setup on my Linux workstation but after I update it, it errors out with the following:

1:56:13 INFO: CUDA on Host - host: Building dependency tree…

11:56:13 INFO: CUDA on Host - host: Reading state information…

11:56:13 ERROR: CUDA on Host - host: E: Version ‘10.2.19*’ for ‘cuda-toolkit-10-2’ was not found

11:56:13 ERROR: CUDA on Host - host: command terminated with error

11:56:13 SUMMARY: DRIVE AV App Documentation - host: Depends on failed component

Any suggestions to fix this?

SDKM_logs_DRIVE_Software_10.0_(rev.2)_Linux_for_DRIVE_AGX_Developer_Kit_2021-04-15_11-55-23.zip (757.9 KB)

Hi @jpvans ,

I don’t think it’s related to sdkmanager update because Nvidia pegasus flashing failed has the same error messages as yours.
Please start from manually clarifying the problem of running below command on your host system. Thanks.

$ sudo apt-get update; sleep 0.5; sudo apt-get -y --allow-downgrades install cuda-toolkit-10-2=10.2.19*

What’s your sdkmanager version? BTW, could you help to provide below information next time.

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

@VickNV

System couldn't find that package:

jvilela@soads-gpu-4:~$ sudo apt-get update; sleep 0.5; sudo apt-get -y --allow-downgrades install cuda-toolkit-10-2=10.2.19*
[sudo] password for jvilela: 
Get:1 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  InRelease
Ign:1 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  InRelease
Get:2 file:/var/cuda-repo-ubuntu1804-11-1-local  InRelease
Ign:2 file:/var/cuda-repo-ubuntu1804-11-1-local  InRelease
Get:3 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  InRelease
Ign:3 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  InRelease
Get:4 file:/var/nv-tensorrt-repo-cuda10.2-trt7.1.3.4-ga-20200617  InRelease
Ign:4 file:/var/nv-tensorrt-repo-cuda10.2-trt7.1.3.4-ga-20200617  InRelease
Get:5 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.2.3.4-ga-20210226  InRelease
Ign:5 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.2.3.4-ga-20210226  InRelease                                                   
Get:6 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  Release [574 B]                                                                                    
Get:7 file:/var/cuda-repo-ubuntu1804-11-1-local  Release [564 B]                                                                                           
Get:8 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  Release [574 B]                                                                          
Get:9 file:/var/nv-tensorrt-repo-cuda10.2-trt7.1.3.4-ga-20200617  Release [574 B]                                                                          
Get:6 file:/var/cuda-repo-10-2-local-10.2.89-440.33.01  Release [574 B]                                                                                    
Get:10 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.2.3.4-ga-20210226  Release [569 B]                                                              
Get:7 file:/var/cuda-repo-ubuntu1804-11-1-local  Release [564 B]                                                                                           
Get:8 file:/var/nv-tensorrt-repo-cuda10.2-trt5.1.4.2-ga-20190506  Release [574 B]                                                                          
Get:9 file:/var/nv-tensorrt-repo-cuda10.2-trt7.1.3.4-ga-20200617  Release [574 B]                                                                          
Get:10 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.2.3.4-ga-20210226  Release [569 B]                                                              
Get:11 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                               
Ign:12 https://packages.elastic.co/beats/apt stable InRelease                                                                                              
Hit:13 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  InRelease                                                                    
Hit:14 https://packages.elastic.co/beats/apt stable Release                                                                                                
Hit:15 http://packages.microsoft.com/repos/code stable InRelease                                                                                           
Hit:16 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64  InRelease                                                               
Ign:17 http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  InRelease                                                    
Get:18 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease [1,129 B]                                                                       
Hit:19 http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release                                                      
Ign:20 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease                                                               
Hit:21 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                           
Hit:22 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release                                                                 
Hit:23 http://repo.zabbix.com/zabbix/4.0/ubuntu bionic InRelease                                                                                           
Hit:24 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease                                                                               
Hit:25 http://archive.ubuntu.com:80/ubuntu bionic InRelease                                                                                                
Hit:26 http://apt.puppetlabs.com bionic InRelease                                                                                                          
Get:28 http://archive.ubuntu.com:80/ubuntu bionic-updates InRelease [88.7 kB]                                                                              
Hit:29 http://packages.ros.org/ros/ubuntu bionic InRelease                                                                                                
Hit:30 http://packages.ros.org/ros2/ubuntu bionic InRelease                                               
Get:33 http://archive.ubuntu.com:80/ubuntu bionic-backports InRelease [74.6 kB]     
Hit:31 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease      
Hit:36 http://archive.ubuntu.com/ubuntu bionic InRelease                            
Fetched 253 kB in 4s (59.5 kB/s)                 
Reading package lists... Done
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list.d/cuda.list:1
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list.d/cuda.list:1
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list.d/cuda.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list.d/cuda.list:1
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list.d/cuda.list:1
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list.d/cuda.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/ROS.list:3 and /etc/apt/sources.list.d/ros-latest.list:1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '10.2.19*' for 'cuda-toolkit-10-2' was not found

System Info:

Native Ubuntu 18.04
SDK Manager: 1.5.0.7774
Hardware Platform: NVIDIA Drive AGX Xavier
Target Operating system: Linux
Software Version: DRIVE OS Linux 5.2.0 and DriveWorks 3.5 and
NVIDIA DRIVE™ Software 10.0 (Linux)

Please compress ~/.nvsdkm directory and provide it for our analysis. Have you checked if Nvidia pegasus flashing failed helps?

Attaching requested logs nvidia.tar.gz (900.7 KB)

I have no idea why “sudo apt-get update” output doesn’t contain any /var/cuda-repo-10-2-local-10.2.19* lines.

Please refer to the following post to clean up your host environment and then try again. Thanks.

@VickNV

I can’t remove all CUDA packages because the NVIDIA Graphic Card driver needs it. Can you advise how to handle this?

Please try with sudo apt purge <package_name> to remove related packages. After that, you can install your GPU drivers and then start the installation via SDK Manager. Thanks.

You previously installed CUDA 10.2.89 which has conflict with CUDA 10.2.19.
So, you have to uninstall CUDA 10.2.89 first to clean up the environment and then reinstall 10.2.19 with SDKM.