raspberry-noaa-v2 icon indicating copy to clipboard operation
raspberry-noaa-v2 copied to clipboard

Support 64bit raspbian / debian

Open benb0jangles opened this issue 2 years ago • 9 comments

During install i get error:

dpkg: error processing archive wxtoimg-armhf-2.11.2-beta.deb (--install): package architecture (armhf) does not match system (arm64)

wxtoimg-armhf-2.11.2-beta.deb

Please any ideas? Pi4 is arm64 or armhf?

benb0jangles avatar Nov 05 '21 10:11 benb0jangles

I assume you are running a pi4 with a 64bit OS?

Cadair avatar Nov 05 '21 10:11 Cadair

I assume you are running a pi4 with a 64bit OS?

yes correct

benb0jangles avatar Nov 05 '21 10:11 benb0jangles

https://unix.stackexchange.com/questions/625576/how-to-run-32-bit-armhf-binaries-on-64-bit-arm64-debian-os-on-raspberry-pi there might be a way to install and run armhf packages on arm64, however I can't test I only have pi3

rhaamo avatar Nov 05 '21 10:11 rhaamo

I don't have a spare pi4 to test this with until next week either. Thanks for the bug report @benb0jangles

Cadair avatar Nov 05 '21 10:11 Cadair

ok thanks

benb0jangles avatar Nov 05 '21 11:11 benb0jangles

To use wxtoimg on 64-bit architecture You need manual install 32-bit library. If You use Raspbery PI just run apt update then apt install libxft2:armhf libasound2:armhf Also You need to install manualy wxtoimg change to software folder cd /home/pi/raspberry-noaa-v2/software and install with dpkg -i wxtoimg-armhf-2.11.2-beta.deb If You get error again, You need to set system to multiarc with dpkg --add-architecture armhf and do previous steps again

dinoj-bg avatar Feb 04 '22 08:02 dinoj-bg

If anyone feels motivated to figure out how to get ansible to do all those things conditionally based on architecture that would be a fantastic pull request.

Cadair avatar Feb 04 '22 09:02 Cadair

If anyone fancies adding a note to the docs making it clear to people they need to use a 32bit image until we work through all the issues with the 64bit one that would be a great help.

Cadair avatar May 15 '22 11:05 Cadair

Screenshot_2022-05-15_at_18 44 01

Temp fix... lmk if we need to tweak..

dom-robinson avatar May 16 '22 09:05 dom-robinson