SDKManger step 3 install error

Hi.
I was installing step 3 through sdkmanger, but installed failed. Can you please check what the problem is?

Below is the log for dependency error.

15:15:47 INFO: CuDNN Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/cudnn-local-tegra-repo-ubuntu2004-8.6.0.166_1.0-1_arm64.deb with correct checksum, skip downloading.
15:16:50 INFO: VPI Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-lib-2.4.8-aarch64-l4t.deb
15:18:25 INFO: command finished successfully
15:18:25 DEBUG: running command < true >
15:18:25 INFO: exec_command: true
15:18:25 INFO: command finished successfully
15:18:26 INFO: command finished successfully
15:18:27 SUMMARY: CUDA on Host - host: Install completed successfully.
15:18:27 SUMMARY: CUDA Cross Compile Package on Host - host: Install completed successfully.
15:18:27 SUMMARY: VPI on Host - host: Install completed successfully.
15:18:27 SUMMARY: Nsight Systems - host: Install completed successfully.
15:18:27 INFO: command finished successfully
15:18:27 DEBUG: running command < sudo rm -rf ‘/home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS’ >
15:18:27 INFO: exec_command: sudo rm -rf ‘/home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS’
15:18:31 INFO: command finished successfully
15:18:31 INFO: Drivers for Jetson - target_image: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/Jetson_Linux_R35.5.0_aarch64.tbz2
15:19:33 INFO: command finished successfully
15:19:33 INFO: Drivers for Jetson - target_image: sudo rm -rf /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/
15:19:33 INFO: Drivers for Jetson - target_image: **********************
15:19:33 INFO: Drivers for Jetson - target_image: tar xf /home/jk/Downloads/nvidia/sdkm_downloads/Jetson_Linux_R35.5.0_aarch64.tbz2
15:19:33 INFO: Drivers for Jetson - target_image: **********************
15:20:28 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/libnvidia-container1_1.10.0-1_arm64.deb
15:20:28 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/libnvidia-container1_1.10.0-1_arm64.deb with correct checksum, skip downloading.
15:20:28 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/libnvidia-container-tools_1.10.0-1_arm64.deb
15:20:29 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/nvidia-container-toolkit_1.11.0_rc.1-1_arm64.deb with correct checksum, skip downloading.
15:20:38 INFO: TensorRT on Target - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb
15:20:38 INFO: OpenCV Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/OpenCV-4.5.4-8-g3e4c170df4-aarch64-libs.deb
15:20:41 INFO: TensorRT Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb with correct checksum, skip downloading.
15:22:04 INFO: File System and OS - target_image: **********************
15:22:04 INFO: File System and OS - target_image: sudo tar xpf /home/jk/Downloads/nvidia/sdkm_downloads/Tegra_Linux_Sample-Root-Filesystem_R35.5.0_aarch64.tbz2
15:22:04 INFO: File System and OS - target_image: cd …
15:22:04 INFO: File System and OS - target_image: sudo ./tools/l4t_flash_prerequisites.sh
15:22:04 INFO: File System and OS - target_image: sudo ./apply_binaries.sh
15:27:31 INFO: File System and OS - target_image: Get:2 file:/var/cuda-repo-ubuntu1804-11-4-local InRelease [1,575 B]
15:27:35 INFO: File System and OS - target_image: Hit:6 Index of /ubuntu bionic-backports InRelease
15:27:36 INFO: File System and OS - target_image: Hit:7 Index of /compute/cuda/repos/ubuntu1804/x86_64 InRelease
15:27:42 INFO: File System and OS - target_image: Reading package lists…
15:27:42 INFO: File System and OS - target_image: Reading package lists…
15:27:42 INFO: File System and OS - target_image: Building dependency tree…
15:27:42 INFO: File System and OS - target_image: Reading state information…
15:27:42 INFO: File System and OS - target_image: The following packages were automatically installed and are no longer required:
15:27:42 INFO: File System and OS - target_image: Use ‘sudo apt autoremove’ to remove them.
15:27:42 INFO: File System and OS - target_image: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
15:27:43 INFO: File System and OS - target_image: Reading package lists…
15:27:43 INFO: File System and OS - target_image: Building dependency tree…
15:27:43 INFO: File System and OS - target_image: Reading state information…
15:27:43 INFO: File System and OS - target_image: The following packages were automatically installed and are no longer required:
15:27:43 INFO: File System and OS - target_image: Use ‘sudo apt autoremove’ to remove them.
15:27:43 INFO: File System and OS - target_image: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
15:27:43 INFO: File System and OS - target_image: Using rootfs directory of: /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs
15:27:43 INFO: File System and OS - target_image: Installing extlinux.conf into /boot/extlinux in target rootfs
15:27:43 INFO: File System and OS - target_image: /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
15:27:43 INFO: File System and OS - target_image: Copying public debian packages to rootfs
15:27:46 INFO: File System and OS - target_image: Skipping installation of nvidia-l4t-dgpu-apt-source_35.5.0-20240219203809_arm64.deb …
15:27:46 INFO: File System and OS - target_image: Skipping installation of nvidia-l4t-factory-service_35.5.0-20240219203809_arm64.deb …
15:27:57 INFO: File System and OS - target_image: Start L4T BSP package installation
15:27:57 INFO: File System and OS - target_image: Installing QEMU binary in rootfs
15:27:58 INFO: File System and OS - target_image: ~/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs ~/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
15:27:58 INFO: File System and OS - target_image: Installing BSP Debian packages in /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs
15:27:58 ERROR: File System and OS - target_image: chroot: failed to run command ‘dpkg’: Exec format error
15:27:58 ERROR: File System and OS - target_image: command terminated with error
15:27:58 SUMMARY: Flash Jetson Linux - flash: Depends on failed component

You need to have qemu-user-static installed oin your host PC, and not in the docker image, to be specific.

Thanks for answering. I installed qemu-user-static. after sudo apt update, I run sdkmanager and re install. but another error is coming… could you please help me?

17:07:06 INFO: File System and OS - target_image: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/Tegra_Linux_Sample-Root-Filesystem_R35.5.0_aarch64.tbz2
17:07:06 INFO: CUDA Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-11-4-local_11.4.19-1_arm64.deb
17:07:06 INFO: CuDNN Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/cudnn-local-tegra-repo-ubuntu2004-8.6.0.166_1.0-1_arm64.deb
17:07:06 INFO: TensorRT Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb
17:07:28 INFO: TensorRT Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb with correct checksum, skip downloading.
17:07:28 INFO: OpenCV Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/OpenCV-4.5.4-8-g3e4c170df4-aarch64-libs.deb
17:07:28 INFO: OpenCV Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/OpenCV-4.5.4-8-g3e4c170df4-aarch64-libs.deb with correct checksum, skip downloading.
17:07:28 INFO: CuPVA Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/cupva-2.3.0-l4t.deb
17:07:28 INFO: CuPVA Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/cupva-2.3.0-l4t.deb with correct checksum, skip downloading.
17:07:28 INFO: VPI Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-lib-2.4.8-aarch64-l4t.deb
17:07:28 INFO: VPI Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-python3.8-2.4.8-aarch64-l4t.deb
17:07:28 INFO: VPI Runtime - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-python3.9-2.4.8-aarch64-l4t.deb
17:07:28 INFO: VPI Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/vpi-python3.8-2.4.8-aarch64-l4t.deb with correct checksum, skip downloading.
17:07:28 INFO: VPI Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/vpi-python3.9-2.4.8-aarch64-l4t.deb with correct checksum, skip downloading.
17:07:34 INFO: VPI Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/vpi-lib-2.4.8-aarch64-l4t.deb with correct checksum, skip downloading.
17:07:34 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/libnvidia-container0_0.11.0+jetpack_arm64.deb
17:07:34 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/libnvidia-container1_1.10.0-1_arm64.deb
17:07:34 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/libnvidia-container-tools_1.10.0-1_arm64.deb
17:07:34 INFO: NVIDIA Container Runtime with Docker integration (Beta) - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/nvidia-container-toolkit_1.11.0_rc.1-1_arm64.deb
17:09:13 INFO: VPI on Target - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-dev-2.4.8-aarch64-l4t.deb
17:09:13 INFO: VPI on Target - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-samples-2.4.8-aarch64-l4t.deb
17:09:13 INFO: VPI on Target - target: verifying checksum of /home/jk/Downloads/nvidia/sdkm_downloads/vpi-demos-2.4.8-aarch64-l4t.deb
17:09:15 INFO: VPI on Target - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/vpi-demos-2.4.8-aarch64-l4t.deb with correct checksum, skip downloading.
17:09:22 INFO: CUDA Runtime - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-11-4-local_11.4.19-1_arm64.deb with correct checksum, skip downloading.
17:09:22 INFO: CUDA Toolkit for L4T - target: Found file /home/jk/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-11-4-local_11.4.19-1_arm64.deb with correct checksum, skip downloading.
17:09:51 INFO: Reading package lists… 0% Reading package lists… 100% Reading package lists… Done
17:12:35 INFO: /opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter -X dHJ1ZQ== && echo “SDKM_END_CODE_SUCCESS”“aba1f03a-25f6-4cd3-80e5-f268685a5102” || echo “SDKM_END_CODE_FAILURE”“aba1f03a-25f6-4cd3-80e5-f268685a5102”_$?
17:19:31 INFO: File System and OS - target_image: Reading package lists…
17:19:32 INFO: File System and OS - target_image: Reading state information…
17:19:32 INFO: File System and OS - target_image: binfmt-support is already the newest version (2.1.8-2).
17:19:32 INFO: File System and OS - target_image: device-tree-compiler is already the newest version (1.4.5-3).
17:19:32 INFO: File System and OS - target_image: dosfstools is already the newest version (4.1-1).
17:19:32 INFO: File System and OS - target_image: python3-yaml is already the newest version (3.12-1build2).
17:19:32 INFO: File System and OS - target_image: whois is already the newest version (5.3.0).
17:19:32 INFO: File System and OS - target_image: abootimg is already the newest version (0.6-1build1).
17:19:32 INFO: File System and OS - target_image: lbzip2 is already the newest version (2.5-2).
17:19:32 INFO: File System and OS - target_image: sshpass is already the newest version (1.06-1).
17:19:32 INFO: File System and OS - target_image: binutils is already the newest version (2.30-21ubuntu1~18.04.9).
17:19:32 INFO: File System and OS - target_image: cpio is already the newest version (2.12+dfsg-6ubuntu0.18.04.4).
17:19:32 INFO: File System and OS - target_image: cpp is already the newest version (4:7.4.0-1ubuntu2.3).
17:19:32 INFO: File System and OS - target_image: libxml2-utils is already the newest version (2.9.4+dfsg1-6.1ubuntu1.9).
17:19:32 INFO: File System and OS - target_image: nfs-kernel-server is already the newest version (1:1.3.4-2.1ubuntu5.5).
17:19:32 INFO: File System and OS - target_image: openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.23).
17:19:32 INFO: File System and OS - target_image: rsync is already the newest version (3.1.2-2.1ubuntu1.6).
17:19:32 INFO: File System and OS - target_image: udev is already the newest version (237-3ubuntu10.57).
17:19:32 INFO: File System and OS - target_image: uuid-runtime is already the newest version (2.31.1-0.4ubuntu3.7).
17:19:32 INFO: File System and OS - target_image: qemu-user-static is already the newest version (1:2.11+dfsg-1ubuntu7.42).
17:19:32 INFO: File System and OS - target_image: zstd is already the newest version (1.3.3+dfsg-2ubuntu1.2).
17:19:32 INFO: File System and OS - target_image: Use ‘sudo apt autoremove’ to remove them.
17:19:33 INFO: File System and OS - target_image: Reading state information…
17:19:33 INFO: File System and OS - target_image: liblz4-tool is already the newest version (0.0~r131-2ubuntu3.1).
17:19:33 INFO: File System and OS - target_image: The following packages were automatically installed and are no longer required:
17:19:33 INFO: File System and OS - target_image: efibootmgr libefiboot1 libefivar1
17:19:33 INFO: File System and OS - target_image: Use ‘sudo apt autoremove’ to remove them.
17:19:33 INFO: File System and OS - target_image: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
17:19:33 INFO: File System and OS - target_image: Using rootfs directory of: /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs
17:19:33 INFO: File System and OS - target_image: Installing extlinux.conf into /boot/extlinux in target rootfs
17:19:33 INFO: File System and OS - target_image: /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
17:19:33 INFO: File System and OS - target_image: Root file system directory is /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs
17:19:33 INFO: File System and OS - target_image: Copying public debian packages to rootfs
17:19:39 INFO: File System and OS - target_image: Skipping installation of nvidia-l4t-dgpu-apt-source_35.5.0-20240219203809_arm64.deb …
17:19:39 INFO: File System and OS - target_image: Skipping installation of nvidia-l4t-dgpu-config_35.5.0-20240219203809_arm64.deb …
17:19:39 INFO: File System and OS - target_image: Skipping installation of nvidia-l4t-factory-service_35.5.0-20240219203809_arm64.deb …
17:19:52 INFO: File System and OS - target_image: Start L4T BSP package installation
17:19:52 INFO: File System and OS - target_image: QEMU binary is not available, looking for QEMU from host system
17:19:52 INFO: File System and OS - target_image: Found /usr/bin/qemu-aarch64-static
17:19:52 INFO: File System and OS - target_image: Installing QEMU binary in rootfs
17:19:52 ERROR: File System and OS - target_image: mknod: /home/jk/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra/rootfs/dev/random
17:19:52 ERROR: File System and OS - target_image: : File exists
17:19:53 ERROR: File System and OS - target_image: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_COMP.jk.sh; [error]: : File exists
17:19:53 INFO: File System and OS - target_image: [ Package Install Finished with Error ]
17:19:53 INFO: File System and OS - target_image: [host] [ 796.00 KB released. Disk Avail on Partition /dev/sdc: 922.22 GB ]
17:19:53 INFO: File System and OS - target_image: [ NV_L4T_FILE_SYSTEM_AND_OS_COMP Install took 7m17s ]
17:19:53 ERROR: File System and OS - target_image: command terminated with error
17:19:53 SUMMARY: File System and OS - target_image: First Error: Installation failed.
17:19:53 SUMMARY: NVIDIA Container Runtime with Docker integration (Beta) - target: Depends on failed component
17:19:53 SUMMARY: Multimedia API - target: Depends on failed component
17:19:53 SUMMARY: TensorRT on Target - target: Depends on failed component
17:19:53 SUMMARY: TensorRT Runtime - target: Depends on failed component
17:19:53 SUMMARY: VPI on Target - target: Depends on failed component
17:19:53 SUMMARY: VPI Runtime - target: Depends on failed component
17:19:53 SUMMARY: CuPVA Runtime - target: Depends on failed component
17:19:53 SUMMARY: CUDA Toolkit for L4T - target: Depends on failed component
17:19:53 SUMMARY: CUDA Runtime - target: Depends on failed component
17:19:53 SUMMARY: cuDNN on Target - target: Depends on failed component
17:19:53 SUMMARY: CuDNN Runtime - target: Depends on failed component
17:19:53 SUMMARY: OpenCV - target: Depends on failed component
17:19:53 SUMMARY: OpenCV Runtime - target: Depends on failed component
17:19:53 SUMMARY: DateTime Target Setup - target: Depends on failed component
17:19:53 SUMMARY: Flash Jetson Linux - flash: Depends on failed component

SDK Manager lets you dump the log as a zip file.
Please do that, or your log now looks like a bunch of mess, and helps nothing.

I’m sorry, I didn’t know about that. I will attach the zip file.

SDKM_logs_JetPack_5.1.3_Linux_for_Jetson_AGX_Orin_modules_2024-05-03_17-07-13.zip (94.6 KB)

When I unzipped it, it seemed to contain all the logs I did today. The file name below is what I would like to ask.

sdkm-2024-05-03-17-06-49.log

So it didn’t get into the stage of actual flashing.
Can you please delete everything and try again?

Are you meaning to delete sdkmanager and try again from the beginning?

YES. Exactly.

thank you I’ll try it later and get back to you if it doesn’t work.

Hi…
I reinstalled and run sdkmanager, but an error occurred. Please check. Attach the log file.

SDKM_logs_JetPack_5.1.3_Linux_for_Jetson_AGX_Orin_modules_2024-05-04_09-48-45.zip (169.0 KB)

os : ubuntu 18.04 (connect via window wsl)
device is attached from usbipd

It seems to have been downloaded to the host, but it doesn’t seem to be flashed to the target device.
I need your help

10:20:30.654 - Error: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_COMP.jk.sh; [error]: chroot: failed to run command ‘dpkg’: Exec format error

Same here. Just that it’s now WSL.

SDKM_logs_JetPack_5.1.3_Linux_for_Jetson_AGX_Orin_modules_2024-05-10_13-09-28.zip (87.2 KB)
I installed qemu-user-static. I tried the sdkmanager process again, could you please check it again? The log is attached

I don’t see anything useful in the log.
Maybe delete the BSP and try again.

I solved it by referring to the link below

Solved by michel30 in post #23

The person who gave the official answer is the same, but it would have been nice if you had provided this reference.

1 Like