Flashing Jetpack 6.2 Fails with netcat error

I am using sdk manager to reflash a Jetson Orin Nano.

All downloads are checked and verified.

However flashing fails with an error:

12:17:25 ERROR: File System and OS - target_image: E: Unable to locate package netcat-openbsd-openbsd

12:17:25 ERROR: File System and OS - target_image: [exec_command]: /bin/bash -c /home/simond/.nvsdkm/replays/scripts/JetPack_6.2_Linux/NV_L4T_FILE_SYSTEM_AND_OS_COMP.sh; [error]: E: Unable to locate package netcat-openbsd-openbsd

12:17:25 INFO: File System and OS - target_image: [ Package Install Finished with Error ]

12:17:25 INFO: File System and OS - target_image: [host] [ 5.52 GB used. Disk Avail on Partition /dev/sda2: 152.25 GB ]

12:17:25 INFO: File System and OS - target_image: [ NV_L4T_FILE_SYSTEM_AND_OS_COMP Install took 3m15s ]

12:17:25 ERROR: command error code: 11

12:17:25 ERROR: File System and OS - target_image: command terminated with error

Seems like a problon the flashing script.

How can this be fixed or is there a work around?

1 Like

I’m using Ubuntu 24.04.
Apparently only versions 22.04 and 20.04 are supported while 24.04 is there in the source/config but not yet supported.

See file $HOME/nvidia/nvidia_sdk/JetPack_6.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/tools/l4t_flash_prerequisites_2404.sh

It contains package_list, a list of required packages. For a reason it requires “netcat-openbsd-openbsd” (no such package in ubuntu) while the non-24.04 version require a proper “netcat-openbsd”.

I guess nobody tests it on 24.04.

I’ve got a workaround for flashing Jetpack 6.2 on Ubuntu 24.04.

You have to spoof the Ubuntu version number. To do so, modify /etc/os-release (e.g. “sudo vi /etc/os-release”),
change line VERSION_ID to version 22.04, i.e.:
VERSION_ID=“22.04”

Test with command:
lsb_release -r

Don’t forget to rollback the change and test the rollback (lsb_release -r) afterwards to avoid any unexpected problems with other software on your system.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.