08:37:33 ERROR: CUDA Cross-Compile for Linux - host: E: Unable to locate package cuda-cross-aarch64-10-2

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.6.0.8170
1.5.1.7815
1.5.0.7774
other

Host Machine Version
[*] native Ubuntu 18.04
other

CUDA cross-compile for linux failed when download and install by sdkmanager.
… 08:37:32 INFO: CUDA Cross-Compile for Linux - host: Reading package lists…

08:37:33 INFO: CUDA Cross-Compile for Linux - host: Reading package lists…

08:37:33 INFO: CUDA Cross-Compile for Linux - host: Building dependency tree…

08:37:33 INFO: CUDA Cross-Compile for Linux - host: Reading state information…

08:37:33 ERROR: CUDA Cross-Compile for Linux - host: E: Unable to locate package cuda-cross-aarch64-10-2

08:37:33 INFO: CUDA Cross-Compile for Linux - host: [ Package Install Finished with Error ]

08:37:33 INFO: CUDA Cross-Compile for Linux - host: [host] [ 8.00 KB released. Disk Avail: 46.19 GB ]

08:37:33 INFO: CUDA Cross-Compile for Linux - host: [ NV_CUDA_HOST_CROSS_LINUX_COMP Install took 6s ]

08:37:33 ERROR: CUDA Cross-Compile for Linux - host: [error]: Error when apt install failed; [exec_command]: sudo apt-get update; sleep 0.5; sudo apt-get -y install cuda-cross-aarch64-10-2=10.2.187* ; [error]: exit status 100; [deb_path]: /data/nvidia/downloads/cuda-repo-cross-aarch64-10-2-local-10.2.187_1.0-1_all.deb

08:37:33 ERROR: CUDA Cross-Compile for Linux - host: command terminated with error

08:37:33 SUMMARY: CUDA Cross-Compile for Linux - host: First Error: Unable to locate debian package

Dear @zhangwenquan,
Is the host connected to internet? Could you confirm if apt-get is in stable state and able to install any packages?

yes, host PC is connected to internet.
apt get is usable for other tools when remove and install it.sdkm-2021-08-05-21-43-09.log (364 Bytes)

Hi @zhangwenquan ,

Please see if the solution of Error installing TensorRT on SDK Manager 1.4 helps. Thanks.

Hi VickNV
how can I manually remove all cuda/tensorrt packages?
Thanks

Dear @zhangwenquan,
If your host has different DRIVE releases, you can use sdkmanager to uninstall not needed DRIVE releases.
May I know what are the CUDA/tensorRT packages on your host. Please see the thread shared by Vick.

1 Like

package on my host PC:
cuda.package.list (16.5 KB)
tensorrt.package.list (698 Bytes)