I am trying to create SNAP package and getting below error today
error: cannot refresh “core20”: unexpectedly empty response from the server (try again later)
Error while refreshing snap ‘core20’ to channel ‘latest/stable’
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
just wait, the core{18|20} snaps are in throttled update mode, so the metadata info is updated but the actual package is only available to a few lucky people … just try again later (like the snapd message says)
snapcraft --debug
Launching a VM.
snap "snapd" has no updates available
snapd is not logged in, snap install commands will use sudo
error: cannot refresh "core20": unexpectedly empty response from the server (try again later)
Error while refreshing snap 'core20' to channel 'latest/stable'
and as expected snapcraft clean didn’t fix it for me.