Snap does not refresh to latest version

“snap refresh” does not install the latest version from store.

#> snap info core
name:      core
summary:   snapd runtime environment
publisher: Canonical✓
contact:   snaps@canonical.com
license:   unset
description: |
  The core runtime environment for snapd
type:         core
snap-id:      99T7MUlRhtI3U0QFgl5mXXESAiSwt776
tracking:     edge
refresh-date: today at 11:42 CEST
channels:
  stable:    16-2.38.1                    2019-04-29 (6818) 93MB -
  candidate: 16-2.38.1                    2019-04-16 (6818) 93MB -
  beta:      16-2.39~pre1                 2019-04-18 (6861) 92MB -
  edge:      16-2.39~pre1+git1270.9ac9a03 2019-05-03 (6952) 92MB -
installed:   16-2.38                                 (6673) 93MB core

After manuell refresh or a refresh from snapd.service the version 16-2.38 is installed. I can install any other version from different channel manually but after last reefrech cycle the old version is installed.

Have anyone an idea what is going wrong here?

Thx,
Stephan

Are you running the refresh on a device that might have refresh control? What does snap known validation show?

It seems so. snap known validation shows this and 2 more.

type: validation
authority-id: canonical
series: 16
snap-id: ttZZbj4ZjaFakobHQghX8Z6C5SOTtK0j
approved-snap-id: 99T7MUlRhtI3U0QFgl5mXXESAiSwt776
approved-snap-revision: 6673
revoked: false
timestamp: 2019-04-25T11:28:09.398803Z
sign-key-sha3-384: BWDEoaqyr25nF5SNCvEv2v7QnM9QsfCc0PBMYD_i2NGSQ32EF2d4D0hqUel3m8ul

AcLBUgQAAQoABgUCXMGZyQAAvF0QAAsdj4v0d1fE5L1GVkJcM7omaZc4vPGT6AHjg+Xs4nYhgfNb
8ZTnzfhu0apKcCPeTr2PTncqU9fUXhe8l9LPeunyqRUJ1FkShRxgQlRaDhxWnXR0lmSbfKCMtCh3
FyrLJ6IOMFhPkjF4cNT8ESdqMxC/bDpbtW/3IOFZqfwNlMhIqbZ7m1gMl9a77F3+UIrbCmZDUXFa
cDimPRqc94DrZaNHba8PYkL40t6iEsKMc3Iwcnfqdz53qW6qhidXGpHZvnjPoWZCrBFXXWrjIF73
uKDZqVtq7cnMiRNpacBZ1SOLKkPpj8d2l2YQArKecci+ZEhGVm8ckZ+YUSFxcaw9632Xvvg1MZcb
T6NeUwuayvH6iBQojApIoHHBPVeq2jKg48HooEXEzbo0dD6OPL9XfVEowJCFgaRldN3NY6FEaw1K
I95esSVicQOeCVXFgmLotVY3hhJDCU6PjcQ+/AN1068p4ABuHaZtcTGgbU8z0uZq3gro3BZZJac8
IF7DeRFDB+NxhOnlu+cfKpHcGLluHlLm+2wS/h5npQCh7vhSyQv+4uZjCxmxzCz8q/LtTdEPo6uK
Fd5dcp7UFOdOKenkf8AXOmPp1Tei4vZ2Wp5GVjRxYpMrr1ypXJ4zXXqiRZM1vdbf515dYGSzGO+o
pkFvIsnRKYWlvZkHe6fPO0/1h/JP

from the revision 6673 I think it is the core.

Is it possible to override this setting?

Yes, snap refresh's --ignore-validation flag might be of interest to you.

Note that this might invalidate your device, since a validation assertion that you see there is issued by the supplier of the device.

Hi,

That’s it. Thank you very much.