Cannot install due to low storage space?

Hi I have zed 2i camera and I tried to install the supporting tools in jetsen xavier board with Ubuntu 20.04.6 LTS OS with disk space 16GB, while I install tools SDK and proceed before fully installation gets completed storage issue occurs and couldn’t proceed suggest the proper tools and solution for this issue.

Hi @User1
Welcome to the StereoLabs community.

Please post the full install log to check the error messages

Hi @User1
I recommend you read carefully the documentation of your Jetson device because I saw a lot of confusion:

  1. The NVIDIA SDK Manager is a tool to flash the Jetson device and install the NVIDIA library that must be installed on a host Ubuntu PC, not on the Jetson
  2. You must not install CUDA by using apt, but by nstalling the jetpack package: sudo apt install nvidia-jetpack
  3. Please do not show logs as screenshots, but copy the full log message and paste it into a txt file for easier access

Sorry for the confusion. I will share the full text log soon. This is my understanding.

  1. I can download SDK manager into a Ubuntu PC and flash the Jetson board with complete package.
    (or)
  2. I have existing Jetson board with Jetpack installed. I am trying to install Zedi specific package alone to test the camera.
  3. Pls point out the documentation for both #1 and #2
  4. I have Jetson Xavier platform which I am using for other purpose. I am worried about flashing it entirely with new image.
Applogies for inconvenience sir created
I couldn't attach the error text file due to new user, so I paste the complete log in  as a post here.

**Low storage warning error:**
edge@ubuntu:-/Downloads
edge@ubuntu:-/Downloads$ sudo dpkg -1 sdkmanager 2.2.0-12021_amd64.deb [sudo] password for edge:
dpkg: error processing archive sdkmanager_2.2.0-12021_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
sdkmanager 2.2.0-12021_amd64.deb

edge@ubuntu:-/Downloads$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-ubuntu2004.pin 
--2024-12-13 14:59:14-- https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-ubuntu2004.ptn Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.39.144
Connecting to developer.download.nvidia.com (developer.download.nvidia.com) | 152.199.39.1441:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 190 [application/octet-stream]
Saving to: 'cuda-ubuntu2004.pin'
cuda-ubuntu2004.ptn 100% [======== ========>] 190 --.-KB/s in Os
2024-12-13 14:59:15 (1.28 MB/s) - 'cuda-ubuntu2004.pin' saved [190/190]

edge@ubuntu:-/Downloads$ sudo mv cuda-ubuntu2004.ptn /etc/apt/preferences.d/cuda-repository-pin-600
edge@ubuntu:~/Downloads
edge@ubuntu:-/Downloads$ wget https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb
--2024-12-13 14:59:35-- https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.39.144
Connecting to developer.download.nvidia.com (developer.download.nvidia.com) | 152.199.39.1441:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2830539554 (2.6G) [application/x-deb]
Saving to: 'cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb'
cuda-repo-ubuntu200 100% [===================>]     2.64G 1.50MB/s  in 11m 36s
2024-12-13 15:11:12 (3.88 MB/s) - 'cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb' saved [2830539554/2830539554]

edge@ubuntu:-/Downloads$ sudo dpkg -t cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb
Selecting previously unselected package cuda-repo-ubuntu2004-12-6-local.
(Reading database... 151698 files and directories currently installed.)
Preparing to unpack cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb...
Unpacking cuda-repo-ubuntu2004-12-6-local (12.6.3-560.35.05-1)
dpkg: error processing archive cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb (--install):
cannot copy extracted data for './var/cuda-repo-ubuntu2004-12-6-local/libcusparse-dev-12-6_12.5.4.2-1_arm64.deb' to '/var/cuda-repo-ubuntu2004-12-6-local/libcusparse-dev-12-6_12.5.4.2-1_arm64.deb.dpkg-n ew': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb

edge@ubuntu:~/Downloads$ sudo dpkg -1 cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb 
(Reading database... 151698 files and directories currently installed.) 
Preparing to unpack cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb ...
Unpacking cuda-repo-ubuntu2004-12-6-local (12.6.3-560.35.05-1) ...
dpkg: error processing archive cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb (--install):
cannot copy extracted data for './var/cuda-repo-ubuntu2004-12-6-local/libnpp-12-6_12.3.1.54-1_arm64.deb' to '/var/cuda-repo-ubuntu2004-12-6-local/libnpp-12-6_12.3.1.54-1_arm64.deb.dpkg-new': failed to w rite (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_arm64.deb

edge@ubuntu:-/Downloads$


**Installation of CUDA error:**
edge@ubuntu:~/Downloads$ ll
total 83464
drwxr-xr-x   2 edge edge    4096 Dec 13 16:05 /
drwxr-xr-x   21 edge edge   4096 Dec 13 15:50 ../
--rw-rw-r--  1 edge edge   920928 Dec 13 16:05 stereolabs-zedbox-onx16_1.2.1-LI-MAX96712-ALL-ZEDBOX-L4T35.4.1_arm64.deb
--rwxrwxr-x  1 edge edge   84529173 Dec 13 15.45 ZED_SDK_Tegra_L4T35.4_v4.2.2.zstd.run*

edge@ubuntu:~/Downloads$ chmod +x ZED_SDK_Tegra_L4T35.4_v4.2.2.zstd.run 

edge@ubuntu:~/Downloads$ ./ZED_SDK_Tegra_L4T35.4_v4.2.2.zstd.run 
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing 'ZED camera SDK by Stereolabs (Use 'sudo apt install zstd' if zstd is not found)' 100%
Detected Tegra_L4T35.5, required exact Tegra_L4T35.4
WARNING: possibly unsupported Linux 4 Tegra version, Continue [Y/n] ?n 
Exiting

edge@ubuntu:~/Downloads$

Hi @User1
everything you are doing is wrong and the Jetson device is now in a bad status.
Please use the NVIDIA SDK Manager to reset it, but please read carefully the documentation of your Jetson device before beginning any other task.

Hi,

  1. I read the documentation and followed the steps and done the reflashing of the Jetsen board.

  2. Downloaded the SDk manager and installed it in a Ubuntu(20.04) pc and configured the steps for the Jetsen

  3. While doing so facing issue at the time of Flashing the Jetsen linux the whole process completes and throws the error as below
    “Installation failed”
    I checked the log and here is the error message of the terminal below

    18:36:57.831 - Info: Waiting for device to expose ssh …Run command: flash on fc00:1:1:0::2
    18:36:58.286 - Info: SSH ready
    18:37:02.500 - Info: 4194304
    18:37:02.531 - Info: [ 0]: l4t_flash_from_kernel: Serial Number: 1423323014629
    18:37:02.532 - Info: [ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
    18:37:02.533 - Info: Active index file is /mnt/internal/flash.idx
    18:37:02.536 - Info: Number of lines is 42
    18:37:02.536 - Info: max_index=41
    18:37:06.372 - Info: [ 4]: l4t_flash_from_kernel: Successfully create gpt for emmc
    18:37:06.373 - Info: [ 4]: l4t_flash_from_kernel: Starting to create gpt for external device
    18:37:06.374 - Info: Active index file is /mnt/external/flash.idx
    18:37:06.476 - Info: Number of lines is 18
    18:37:06.476 - Info: max_index=17
    18:37:06.664 - Info: writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 4f10faef38eb9baef2f642279c90537fef54ae32
    18:37:07.623 - Info: Error: Could not stat device /dev/nvme0n1 - No such file or directory.
    18:37:07.646 - Info: Flash failure
    18:37:07.646 - Info: Cleaning up…
    18:37:08.780 - Error: [exec_command]: /bin/bash -c /home/user/.nvsdkm/replays/scripts/JetPack_5.1.4_Linux/NV_L4T_FLASH_JETSON_LINUX_COMP.sh; [error]: 87912 blocks
    18:37:08.780 - Info: [ Component Install Finished with Error ]18:37:08.782 - Info: [host] [ 16.89 GB used. Disk Avail on Partition /dev/sda5: 537.36 GB ]18:37:08.782 - Info: [ NV_L4T_FLASH_JETSON_LINUX_COMP Install took 34m53s ]

@User1 This is an NVIDIA Jetson problem that requires support from the NVIDIA customer support team.
Please ask in the NVIDIA Developer Forum.