The scripts use uname -m to determine the architecture. Raspberry OS Bookworm (12) however loada on a Pi4 or Pi5 a 64bits kernel, while the OS is 32bits. It turns out that uname in this case reports the kernel architecture, i.e. aarch64.
Instead the scripts should use either
dpkg --print-architecture >> armhf or
getconf LONG_BIT >> 32
The scripts use
uname -m
to determine the architecture. Raspberry OS Bookworm (12) however loada on a Pi4 or Pi5 a 64bits kernel, while the OS is 32bits. It turns out thatuname
in this case reports the kernel architecture, i.e.aarch64
. Instead the scripts should use eitherdpkg --print-architecture
>>armhf
orgetconf LONG_BIT
>>32