Not sure if the forum is the proper place for this as it seems like a bug report… Please tell me to file as a bug if that is better.
$ snap version
snap 2.24.1+17.04
snapd 2.24.1+17.04
series 16
ubuntu 17.04
kernel 4.10.0-20-generic
$ snap info lxd
name: lxd
summary: "LXD - the container lighervisor"
publisher:
description: |
LXD is a container manager for system containers. It offers a REST API to
remotely manage containers over the network, using an image based workflow and
with support for live migration.
commands:
- lxd.benchmark
- lxd.lxc
- lxd
tracking: candidate
installed: 2.5 (241) 13MB -
refreshed: 2016-10-25 20:15:23 -0500 CDT
channels:
stable: 2.12 (1743) 12MB -
candidate: 2.13 (2071) 12MB -
beta: 2.13 (2071) 12MB -
edge: git-699f8fc (2108) 12MB -
$ sudo snap refresh lxd
error: cannot refresh "lxd": cannot refresh local snap "lxd"
[1]
$ sudo snap refresh lxd --stable
error: cannot refresh "lxd": cannot refresh local snap "lxd"
[1]
$ sudo snap refresh lxd --candidate
error: cannot refresh "lxd": cannot refresh local snap "lxd"
[1]
$ snap list
Name Version Rev Developer Notes
...
lxd 2.5 241 -
...
What is weird is that snap refresh
thinks this is a locally installed snap, but snap info
clearly says I’m tracking ‘candidate’. snap list
seems confused-- it has a revision from the store but no publisher.