Mike234
November 25, 2022, 2:10pm
1
Hi you all,
whatever “snap” I want to install on my rasperry pi4 with arm64-architecture (that’s what I thought …) it always gives this error message:
> pi@raspberrypi:~ $ error: snap “sql-client” is not available on beta for this architecture (armhf)
May be, I’m wrong and using “armhf”, but did never realize.
What can I do?
ogra
November 25, 2022, 3:30pm
2
you should be able to check your architecture with the arch
command (shipped by default on all ubuntu images) …
Mike234
November 25, 2022, 4:54pm
3
Thank you ogra - it shows me: armv7l
That’s the wrong one
Most operating system downloads for the raspberry pi default to offering you the armhf variant because only the pi4 is compatible with arm64 images.
1 Like
For the example given, sql-client
, it only provides a snap for the x86_64 architecture. You can verify by going to the landing page and looking at the drop down:
There’s probably a way to do it from the command line interface too.
Snaps can be made available for various architectures including armhf, but it sometimes takes additional time devoted to making them work correctly.