Cannot refresh "remmina": Access by specifying a revision is not allowed for this Snap

When trying to refresh a snap (remmina) to an old revision:
sudo snap refresh --revision=1782 remmina

Result: cannot refresh “remmina”: Access by specifying a revision is not allowed for this Snap.

what does that mean? Why can’t the snap be refreshed?

snap 2.36.3
snapd 2.36.3
series 16
ubuntu 18.04
kernel 4.15.0-43-generic

I think to specify the revision you need to be logged into snapd as a user that has permission to change the snap in the store. The most obvious scenario being that if you are the owner of the snap you are able to use --revision for that snap, but other users cannot.

really? so we can never downgrade to an old version if we are not the owner?

you can always snap revert <snap> to go back to the former local revision, but you can not randomly define a revision to jump to as an enduser like a developer (owner) of the snap can

We run into the same error just now with the snapd version, 2.54.4. The command we are using is snap download docker --revision=1458. The same build worked 2-3 hours ago. :slight_smile: Thanks!

Probably we are updating backend version from v1 to v2? https://snapcraft.io/docs/snapd-api