Cannot enable snapcraft experiemental?

On Ubuntu 18 LTS.

I updated and installed snap, as well as snapcraft, as well as snapcraft core.

snap    2.45.3.1
snapd   2.45.3.1
series  16
ubuntu  20.04
kernel  5.4.0-1024-gcp

I am trying to test an experimental feature in my snap:

gWOLF3@instance-2:~/snap-craft/visshous$ sudo snap set system experimental.user-daemons=true
error: cannot perform the following tasks:
- Run configure hook of "core" snap (run hook "configure": cannot set "core.experimental.user-daemons": unsupported system option)

And when I try to look at experimental:

gWOLF3@instance-2:~/snap-craft/visshous$ sudo snap get system experimental
error: snap "core" has no "experimental" configuration option

What do I need to do to enable this? This was working on Ubuntu 16 LTS.

You need a newer snapd to use user-daemons, try:

sudo snap install snapd || sudo snap refresh snapd
1 Like

Thanks - so snap refresh is analogous to apt-get upgrade?

Yes (this post must be at least 20 characters)