While experimenting with the build.snapcraft service I inadvertently built mir-test-tools for s390x which got pushed to latest/edge automatically. That build is unwanted, has incorrect content, and I have no capability for, nor interest in, supporting s390x for this snap.
I’m now getting reminders that this upload contains outdated libraries. Is there a way to remove the s390x architecture for https://snapcraft.io/mir-test-tools/ from the store?
Note the revisions in each architecture/channel. Close the channel(s), then re-publish the non-s390x revisions to their channels, and don’t re-publish the s390x one.
I’m still seeing this problem too on https://snapcraft.io/certbot. I (temporarily) closed the edge channel, but the i386 architecture is still listed on the snap store page and testing on a i386 machine, the snap can still be installed.
closing channels only helps for already built snaps indeed … to prevent your snap from building on unwanted arches you need to use the architectures: option in snapcraft.yaml:
For what it’s worth, I’m still seeing this problem and the cause is not i386 snaps continuing to be built.
Since my previous message, we temporarily offered i386 snaps again, but stopped over a month ago. I closed and reopened the channel containing the i386 snap and the web UI for our snap looks like:
Despite that, you can still see a i386 snap listed at https://snapcraft.io/certbot and it is still installable on a i386 system.
I don’t think this is what you want. That will build on amd64 and set the runs-on to amd64 AND armhf for the same .snap file. It will, in parallel, build on armhf and set the runs-on for THAT snap file to the same amd64 and armhf. So from the two builds this will generate both snap files will be installable onto an incorrect architecture.
oops. I coulda sworn they were statements rather than commands (“it builds” vs. “to build”, respectively). The basis of the way the architectures operate, however, is good - I’ll edit the post to fix builds-on to be the correct build-on.
In the past, I left the channel closed for less than 2 hours and it didn’t seem to help at all. Yesterday, I tried leaving the channel closed for roughly 10 hours which definitely helped but things are still behaving oddly. On a i386 system where we do not want to offer a Certbot snap, I see this:
# sudo snap install --classic certbot
error: snap "certbot" is not available on stable but is available to install on the following
channels:
edge snap install --edge certbot
Please be mindful pre-release channels may include features not completely tested or
implemented. Get more information with 'snap info certbot'.
# snap install --edge --classic certbot
error: snap "certbot" is not available on latest/edge but other tracks exist.
Please be mindful that different tracks may include different features. Get more information
with 'snap info certbot'.
# snap info certbot
error: no snap found for "certbot"