Hello,
I find that SOMETIMES when I run apply_binaries.sh for my L4T system, I get a Python error in the terminal:
~/Desktop/Linux_for_Tegra$ sudo ./apply_binaries.sh
[sudo] password for user:
Using rootfs directory of: /home/user/Desktop/Linux_for_Tegra/rootfs
/home/user/Desktop/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
Root file system directory is /home/user/Desktop/Linux_for_Tegra/rootfs
Copying public debian packages to rootfs
Start L4T BSP package installation
QEMU binary is not available, looking for QEMU from host system
Found /usr/bin/qemu-aarch64-static
Installing QEMU binary in rootfs
~/Desktop/Linux_for_Tegra/rootfs ~/Desktop/Linux_for_Tegra
Installing BSP Debian packages in /home/user/Desktop/Linux_for_Tegra/rootfs
(Reading database ... 123735 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.4.3-20200625213809_arm64.deb ...
Pre-installing... skip compatibility checking.
Unpacking nvidia-l4t-core (32.4.3-20200625213809) over (32.4.3-20200625213809) ...
Setting up nvidia-l4t-core (32.4.3-20200625213809) ...
(Reading database ... 123735 files and directories currently installed.)
Preparing to unpack .../jetson-gpio-common_2.0.8_arm64.deb ...
Unpacking jetson-gpio-common (2.0.8) over (2.0.8) ...
Preparing to unpack .../python3-jetson-gpio_2.0.8_arm64.deb ...
qemu: Unsupported syscall: 278
Fatal Python error: failed to get random numbers to initialize Python
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)
dpkg: warning: old python3-jetson-gpio package pre-removal script subprocess returned error exit status 134
dpkg: trying script from the new package instead ...
qemu: Unsupported syscall: 278
Fatal Python error: failed to get random numbers to initialize Python
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)
dpkg: error processing archive /opt/nvidia/l4t-packages/standalone/python3-jetson-gpio_2.0.8_arm64.deb (--install):
new python3-jetson-gpio package pre-removal script subprocess returned error exit status 134
...
Errors were encountered while processing:
/opt/nvidia/l4t-packages/standalone/python3-jetson-gpio_2.0.8_arm64.deb
I am running Python 2.7.12 from the Ubuntu OS, and Python 3.5.12 (supposedly) running for the L4T scripts.
I should also note that this happens SOMETIMES. I usually have to just delete L4T and then re-install it for a successful run of ./apply_binaries.sh.
How should I resolve this?