Can't build anything on Raspberry PI

Yeah if originally had a 32-bit install of Raspbian and then upgraded to 64-bit it’s game over and the same as in ESP8266: Upload fails - xtensa-lx106-elf-g++: not found - #5 by kdebarb63