Snap refresh fail for multiple snaps

I just did a snap refresh and it kinda fell in a heap for a bunch of snaps that I’m tracking in edge.

I’m running core from stable.

alan@KinkPad-K450:~$ 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:     stable
refresh-date: 21 days ago, at 00:30 CEST
channels:                          
  stable:    16-2.35   (5328) 92MB -
  candidate: 16-2.35.2 (5486) 92MB -
  beta:      16-2.35.2 (5486) 92MB -
  edge:      16-2.35.2 (5532) 92MB -
installed:   16-2.35   (5328) 92MB core

alan@KinkPad-K450:~$ snap refresh
error: cannot perform the following tasks:
- Setup snap "brackets" (87) security profiles (cannot find installed snap "brackets" at revision 87: missing file /snap/brackets/87/meta/snap.yaml)
- Setup snap "vscode" (58) security profiles (cannot find installed snap "vscode" at revision 58: missing file /snap/vscode/58/meta/snap.yaml)
- Setup snap "tmnationsforever" (25) security profiles (cannot find installed snap "tmnationsforever" at revision 25: missing file /snap/tmnationsforever/25/meta/snap.yaml)
- Setup snap "discord" (77) security profiles (cannot find installed snap "discord" at revision 77: missing file /snap/discord/77/meta/snap.yaml)
- Setup snap "postman" (61) security profiles (cannot find installed snap "postman" at revision 61: missing file /snap/postman/61/meta/snap.yaml)
- Setup snap "atom" (196) security profiles (cannot find installed snap "atom" at revision 196: missing file /snap/atom/196/meta/snap.yaml)
alan@KinkPad-K450:~$ ls /snap/atom/196/meta/snap.yaml
ls: cannot access '/snap/atom/196/meta/snap.yaml': No such file or directory
alan@KinkPad-K450:~$ ls -l /snap/atom/
total 0
drwxr-xr-x 9 root root 161 Aug 31 10:18 192
drwxr-xr-x 9 root root 161 Sep 17 10:16 194
drwxr-xr-x 9 root root 161 Sep 20 08:57 195
lrwxrwxrwx 1 root root   3 Sep 20 13:46 current -> 195
alan@KinkPad-K450:~$ snap changes
ID    Status  Spawn                Ready                Summary
1053  Error   today at 08:33 CEST  today at 08:34 CEST  Auto-refresh 11 snaps
1054  Done    today at 09:14 CEST  today at 09:15 CEST  Refresh snaps "vale", "brackets", "irccloud-desktop", "github-desktop", "atom", "discord"
1055  Done    today at 09:42 CEST  today at 09:42 CEST  Refresh snaps "vscode", "sublime-text", "postman", "obs-studio"
1056  Done    today at 10:10 CEST  today at 10:10 CEST  Refresh snap "ffmpeg"
1057  Done    today at 10:15 CEST  today at 10:15 CEST  Refresh all snaps: no updates
1058  Done    today at 10:16 CEST  today at 10:16 CEST  Install "ghost-desktop" snap from "edge" channel
1059  Done    today at 10:34 CEST  today at 10:34 CEST  Refresh all snaps: no updates
1060  Done    today at 10:39 CEST  today at 10:39 CEST  Refresh "cumulonimbus" snap from "edge" channel
1061  Done    today at 10:46 CEST  today at 10:46 CEST  Install "duckmarines" snap from "edge" channel
1062  Done    today at 10:50 CEST  today at 10:50 CEST  Refresh "mutt" snap from "edge" channel
1063  Done    today at 10:54 CEST  today at 10:54 CEST  Refresh "sdlpop" snap from "edge" channel
1064  Done    today at 10:57 CEST  today at 10:57 CEST  Refresh snaps "obs-studio", "pycharm-community"
1065  Done    today at 11:09 CEST  today at 11:12 CEST  Install "xonotic" snap from "edge" channel
1066  Done    today at 11:35 CEST  today at 11:35 CEST  Refresh all snaps: no updates
1067  Done    today at 11:51 CEST  today at 11:51 CEST  Refresh snaps "github-desktop", "eclipse"
1068  Error   today at 13:43 CEST  today at 13:46 CEST  Refresh snaps "irccloud-desktop", "ghost-desktop", "multipass", "sdlpop", "sublime-text", "cumulonimbus", "xonotic", "duckmarines", "obs-studio", "wine-platform-i386", "gitkraken", "yakyak", "atom", "get-iplayer", "brackets", "wordpress-desktop", "simplenote", "discord", "postman", "mutt", "github-desktop", "vscode", "tmnationsforever"

Full output from snap change 1068 is at https://paste.ubuntu.com/p/P4zmVCKsHZ/

Trimmed output below because the forum won’t let me post this much…

Done    today at 13:43 CEST  today at 13:46 CEST  Automatically connect eligible plugs and slots of snap "mutt"
Done    today at 13:43 CEST  today at 13:46 CEST  Set automatic aliases for snap "mutt"
Done    today at 13:43 CEST  today at 13:46 CEST  Setup snap "mutt" aliases
Done    today at 13:43 CEST  today at 13:46 CEST  Run post-refresh hook of "mutt" snap if present
Done    today at 13:43 CEST  today at 13:46 CEST  Start snap "mutt" (99) services
Done    today at 13:43 CEST  today at 13:46 CEST  Remove data for snap "mutt" (70)
Done    today at 13:43 CEST  today at 13:46 CEST  Remove snap "mutt" (70) from the system
Done    today at 13:43 CEST  today at 13:46 CEST  Clean up "mutt" (99) install
Done    today at 13:43 CEST  today at 13:46 CEST  Run configure hook of "mutt" snap if present

......................................................................
Setup snap "brackets" (87) security profiles

2018-09-20T13:45:39+02:00 ERROR cannot find installed snap "brackets" at revision 87: missing file /snap/brackets/87/meta/snap.yaml

......................................................................
Setup snap "vscode" (58) security profiles

2018-09-20T13:45:23+02:00 ERROR cannot find installed snap "vscode" at revision 58: missing file /snap/vscode/58/meta/snap.yaml

......................................................................
Setup snap "tmnationsforever" (25) security profiles

2018-09-20T13:45:48+02:00 ERROR cannot find installed snap "tmnationsforever" at revision 25: missing file /snap/tmnationsforever/25/meta/snap.yaml

......................................................................
Setup snap "discord" (77) security profiles

2018-09-20T13:45:45+02:00 ERROR cannot find installed snap "discord" at revision 77: missing file /snap/discord/77/meta/snap.yaml

......................................................................
Setup snap "postman" (61) security profiles

2018-09-20T13:45:23+02:00 ERROR cannot find installed snap "postman" at revision 61: missing file /snap/postman/61/meta/snap.yaml

......................................................................
Setup snap "atom" (196) security profiles

2018-09-20T13:46:09+02:00 ERROR cannot find installed snap "atom" at revision 196: missing file /snap/atom/196/meta/snap.yaml

alan@KinkPad-K450:~$ 

Alan will be coming to the @snapd room at 16:30 local time so we can poke the corpse with a stick.

2 Likes

I reproduced this issue locally. I will be adding more information to Unexplained mount failure, protocol error, what we know so far