I published a snap with the field
license: Apache 2. Publishing worked fine and there was no linting issue (I have the
review-tools installed) but when installing it failed with:
error: cannot perform the following tasks: - Mount snap "erlang" (14) (cannot validate license "Apache 2": unknown license: Apache)
I removed the
license field from
snapcraft.yaml and republished and it worked fine to install.
If the license metadata should cause it to fail to install it should likely fail publishing or at least the linting, right? Not sure if this is an issue with the installer or the publisher.