I’ve got a snap that’s being built by build.snapcraft.io for both amd64 and i386. When I install it locally, it works great. When I install it inside of LXD on (amd64) Jenkins, it fails to run the executable, even though it’s there:
+ ls -lath /snap/juju-helpers/7/bin/juju-bundle -rwxr-xr-x 1 root root 3.7M Jun 13 14:24 /snap/juju-helpers/7/bin/juju-bundle + /snap/juju-helpers/7/bin/juju-bundle /snap/juju-helpers/7/bin/juju-bundle: No such file or directory
I suspect that this is an issue with snap installing the i386 binary, based on https://askubuntu.com/q/133389. This raises two questions:
Is there a way to check which architecture snap you actually have installed?
snap info foo doesn’t seem to list it.
How can I tell snap to install a particular arch? I don’t see anything relevant in
snap install --help.