canonical / snapcraft.io

The official website's repository for the Snap store
https://snapcraft.io/
Other
145 stars 108 forks source link

Maas snap not available on Raspberry even though https://snapcraft.io/install/maas/raspbian says so #3589

Open ravn opened 3 years ago

ravn commented 3 years ago

Expected behaviour

Maas installs.

Steps to reproduce the problem

Follow instructions on https://snapcraft.io/install/maas/raspbian. When reaching the snap install mass command, this error is printed:

root@raspberrypi:/home/pi# snap install maas
error: snap "maas" is not available on this architecture (armhf) but exists on other architectures
       (amd64, arm64, ppc64el, s390x).

Specs

jkfran commented 3 years ago

Hi @ravn ,

I think the issue is that Raspberry Pi depending on the model could be arm64 or armhf. It is difficult to find documentation about this but here you can see that:

Raspberry Pi 3 (3, 3A+, 3B+) The Raspberry Pi 3 was announced in 2016, and is the first 64-bit member of the family. Some models include wireless connectivity. This family will work with Debian arm64.

The snap is available for the arm64 architecture.

ravn commented 3 years ago

@jkfran The raspberries are slowly migrating to a 64-bit world, but for now the official distribution is 32-bit which is armhf. It is true the 3B which I have can run 64-bit but that would require a reinstall from what I have now. Also 1 GB is not much memory as I later found out that a test installation require 4-8 GB to run comfortably.

If the snap is not made available for 32-bit Raspberries, I would suggest that the documentation is revised to very clearly state that 32-bit is not supported.

In any case, minimum memory requirements for the various roles that the raspberry can do would be a very good thing, so that users do not have unrealistic expectations.