uname would be aarch64 as the kernel is on 64 bit (v8), so it would 'see' the machine hardware as v8/aarxh64.For some reason it seems like I have 32bit the whole timeThe inclusion of "arm64" in the output from apt makes me wonder if you're running 32-bit Raspberry Pi OS rather than the required 64-bit version.
edit: so dpkg --print-architecture shows armhf but uname -m shows aarch64
It's not asking what the OS is, it all about the kernel info.
Luckily, they still keep the raspbian name for 32bit PiOS in the details, so
ID=raspbian tells us it is 32bit OS
Statistics: Posted by bensimmo — Sat May 11, 2024 6:25 am