Gnome-calculator failed to create symbolic link

@zyga-snapd Any idea why that would not have auto-connected all those interfaces?

I don’t know. Can we please see snap changes?

ID   Status  Spawn                 Ready                 Summary
3    Doing   2018-06-03T10:01:15Z  -                     Initialize system state
4    Done    2018-06-03T18:49:43Z  2018-06-03T18:49:44Z  Connect gnome-calculator:gnome-3-26-1604 to gnome-3-26-1604:gnome-3-26-1604
5    Done    2018-06-04T05:29:38Z  2018-06-04T05:29:39Z  Connect gnome-calculator:gnome-3-26-1604 to gnome-3-26-1604:gnome-3-26-1604

corrado@corrado-p7-cc-0527:~$```

Hmm, not sure but it might be related to seeding not being complete yet.

gnome-calculator works fine on a different partition of same PC under Ubuntu Cosmic (like the one giving problem) installed from an older ISO.

Slot                               Plug
:desktop                           gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
:desktop-legacy                    gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
:gsettings                         gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
:network                           gnome-calculator,gnome-logs
:unity7                            gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
:wayland                           gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
gnome-3-26-1604:gnome-3-26-1604    gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
gnome-calculator:gnome-calculator  -
gtk-common-themes:gtk3-themes      gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
gtk-common-themes:icon-themes      gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
gtk-common-themes:sound-themes     gnome-calculator,gnome-characters,gnome-logs,gnome-system-monitor
corrado@corrado-p6-cc-0509:~$ snap changes
ID   Status  Spawn                 Ready                 Summary
7    Done    2018-06-04T16:27:30Z  2018-06-04T16:28:08Z  Auto-refresh 4 snaps

corrado@corrado-p6-cc-0509:~$

I want to notice another thing:
on Ubuntu Cosmic installed from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180509)
i have more snap automatically installed with the system:

corrado@corrado-p6-cc-0509:~$ snap changes
ID   Status  Spawn                 Ready                 Summary
7    Done    2018-06-04T16:27:30Z  2018-06-04T16:28:08Z  Auto-refresh 4 snaps

corrado@corrado-p6-cc-0509:~$ snap list
Name                  Version    Rev   Tracking  Developer  Notes
core                  16-2.32.8  4650  stable    canonical  core
gnome-3-26-1604       3.26.0     64    stable/…  canonical  -
gnome-calculator      3.28.1     170   stable/…  canonical  -
gnome-characters      3.28.2     96    stable/…  canonical  -
gnome-logs            3.28.2     34    stable/…  canonical  -
gnome-system-monitor  3.26.0     41    stable    canonical  -
gtk-common-themes     0.1        3     stable    canonical  -
corrado@corrado-p6-cc-0509:~$ 

while in the one installed from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180527)
(same PC,different partition) i have:

corrado@corrado-p7-cc-0527:~$ snap changes
ID   Status  Spawn                 Ready                 Summary
3    Doing   2018-06-03T10:01:15Z  -                     Initialize system state
5    Done    2018-06-04T05:29:38Z  2018-06-04T05:29:39Z  Connect gnome-calculator:gnome-3-26-1604 to gnome-3-26-1604:gnome-3-26-1604

corrado@corrado-p7-cc-0527:~$ snap list
Name              Version    Rev   Tracking  Developer  Notes
core              16-2.32.8  4650  stable    canonical  core
gnome-3-26-1604   3.26.0     64    stable/…  canonical  -
gnome-calculator  3.28.1     167   stable/…  canonical  -
corrado@corrado-p7-cc-0527:~$

still same problem on a new install from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180611)

still same problem on a new install from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180620) … might be related to seeding not being complete yet … still not completed?

Can you please remove the gnome-calculator snap and reinstall it again? So we can rule out any issues related to snap seeding after first boot.

corrado@corrado-p13-cc-0620:~$ snap remove gnome-calculator
error: cannot remove “gnome-calculator”: snap “gnome-calculator” has “seed” change in progress
corrado@corrado-p13-cc-0620:~$

Can you please run snap changes and then snap tasks N for the N that corresponds to the change that seeds the system and paste the result here.

corrado@corrado-p13-cc-0620:~$ snap changes
ID Status Spawn Ready Summary
1 Doing yesterday at 17:37 CEST - Initialize system state
2 Done yesterday at 17:37 CEST yesterday at 17:37 CEST Initialize device
3 Done yesterday at 19:36 CEST yesterday at 19:36 CEST Connect gnome-calculator:gnome-3-26-1604 to gnome-3-26-1604:gnome-3-26-1604

corrado@corrado-p13-cc-0620:~$

what is the value of N I should use?

corrado@corrado-p13-cc-0620:~$ snap tasks 1
Status Spawn Ready Summary
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Ensure prerequisites for “core” are available
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Prepare snap “/var/lib/snapd/seed/snaps/core_4830.snap” (4830)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Mount snap “core” (4830)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Copy snap “core” data
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “core” (4830) security profiles
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Make snap “core” (4830) available to the system
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “core” (4830) security profiles (phase 2)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Automatically connect eligible plugs and slots of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Set automatic aliases for snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “core” aliases
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run install hook of “core” snap if present
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Start snap “core” (4830) services
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run configure hook of “core” snap if present
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Ensure prerequisites for “gnome-3-26-1604” are available
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Prepare snap “/var/lib/snapd/seed/snaps/gnome-3-26-1604_64.snap” (64)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Mount snap “gnome-3-26-1604” (64)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Copy snap “gnome-3-26-1604” data
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “gnome-3-26-1604” (64) security profiles
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Make snap “gnome-3-26-1604” (64) available to the system
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “gnome-3-26-1604” (64) security profiles (phase 2)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Automatically connect eligible plugs and slots of snap “gnome-3-26-1604”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Set automatic aliases for snap “gnome-3-26-1604”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “gnome-3-26-1604” aliases
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run install hook of “gnome-3-26-1604” snap if present
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Start snap “gnome-3-26-1604” (64) services
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run configure hook of “gnome-3-26-1604” snap if present
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Ensure prerequisites for “gnome-calculator” are available
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Prepare snap “/var/lib/snapd/seed/snaps/gnome-calculator_178.snap” (178)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Mount snap “gnome-calculator” (178)
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Copy snap “gnome-calculator” data
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “gnome-calculator” (178) security profiles
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Make snap “gnome-calculator” (178) available to the system
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Setup snap “gnome-calculator” (178) security profiles (phase 2)
Doing yesterday at 17:37 CEST - Automatically connect eligible plugs and slots of snap “gnome-calculator”
Do yesterday at 17:37 CEST - Set automatic aliases for snap “gnome-calculator”
Do yesterday at 17:37 CEST - Setup snap “gnome-calculator” aliases
Do yesterday at 17:37 CEST - Run install hook of “gnome-calculator” snap if present
Do yesterday at 17:37 CEST - Start snap “gnome-calculator” (178) services
Do yesterday at 17:37 CEST - Run configure hook of “gnome-calculator” snap if present
Do yesterday at 17:37 CEST - Ensure prerequisites for “gnome-characters” are available
Do yesterday at 17:37 CEST - Prepare snap “/var/lib/snapd/seed/snaps/gnome-characters_101.snap” (101)
Do yesterday at 17:37 CEST - Mount snap “gnome-characters” (101)
Do yesterday at 17:37 CEST - Copy snap “gnome-characters” data
Do yesterday at 17:37 CEST - Setup snap “gnome-characters” (101) security profiles
Do yesterday at 17:37 CEST - Make snap “gnome-characters” (101) available to the system
Do yesterday at 17:37 CEST - Setup snap “gnome-characters” (101) security profiles (phase 2)
Do yesterday at 17:37 CEST - Automatically connect eligible plugs and slots of snap “gnome-characters”
Do yesterday at 17:37 CEST - Set automatic aliases for snap “gnome-characters”
Do yesterday at 17:37 CEST - Setup snap “gnome-characters” aliases
Do yesterday at 17:37 CEST - Run install hook of “gnome-characters” snap if present
Do yesterday at 17:37 CEST - Start snap “gnome-characters” (101) services
Do yesterday at 17:37 CEST - Run configure hook of “gnome-characters” snap if present
Do yesterday at 17:37 CEST - Ensure prerequisites for “gnome-logs” are available
Do yesterday at 17:37 CEST - Prepare snap “/var/lib/snapd/seed/snaps/gnome-logs_37.snap” (37)
Do yesterday at 17:37 CEST - Mount snap “gnome-logs” (37)
Do yesterday at 17:37 CEST - Copy snap “gnome-logs” data
Do yesterday at 17:37 CEST - Setup snap “gnome-logs” (37) security profiles
Do yesterday at 17:37 CEST - Make snap “gnome-logs” (37) available to the system
Do yesterday at 17:37 CEST - Setup snap “gnome-logs” (37) security profiles (phase 2)
Do yesterday at 17:37 CEST - Automatically connect eligible plugs and slots of snap “gnome-logs”
Do yesterday at 17:37 CEST - Set automatic aliases for snap “gnome-logs”
Do yesterday at 17:37 CEST - Setup snap “gnome-logs” aliases
Do yesterday at 17:37 CEST - Run install hook of “gnome-logs” snap if present
Do yesterday at 17:37 CEST - Start snap “gnome-logs” (37) services
Do yesterday at 17:37 CEST - Run configure hook of “gnome-logs” snap if present
Do yesterday at 17:37 CEST - Ensure prerequisites for “gnome-system-monitor” are available
Do yesterday at 17:37 CEST - Prepare snap “/var/lib/snapd/seed/snaps/gnome-system-monitor_45.snap” (45)
Do yesterday at 17:37 CEST - Mount snap “gnome-system-monitor” (45)
Do yesterday at 17:37 CEST - Copy snap “gnome-system-monitor” data
Do yesterday at 17:37 CEST - Setup snap “gnome-system-monitor” (45) security profiles
Do yesterday at 17:37 CEST - Make snap “gnome-system-monitor” (45) available to the system
Do yesterday at 17:37 CEST - Setup snap “gnome-system-monitor” (45) security profiles (phase 2)
Do yesterday at 17:37 CEST - Automatically connect eligible plugs and slots of snap “gnome-system-monitor”
Do yesterday at 17:37 CEST - Set automatic aliases for snap “gnome-system-monitor”
Do yesterday at 17:37 CEST - Setup snap “gnome-system-monitor” aliases
Do yesterday at 17:37 CEST - Run install hook of “gnome-system-monitor” snap if present
Do yesterday at 17:37 CEST - Start snap “gnome-system-monitor” (45) services
Do yesterday at 17:37 CEST - Run configure hook of “gnome-system-monitor” snap if present
Do yesterday at 17:37 CEST - Ensure prerequisites for “gtk-common-themes” are available
Do yesterday at 17:37 CEST - Prepare snap “/var/lib/snapd/seed/snaps/gtk-common-themes_319.snap” (319)
Do yesterday at 17:37 CEST - Mount snap “gtk-common-themes” (319)
Do yesterday at 17:37 CEST - Copy snap “gtk-common-themes” data
Do yesterday at 17:37 CEST - Setup snap “gtk-common-themes” (319) security profiles
Do yesterday at 17:37 CEST - Make snap “gtk-common-themes” (319) available to the system
Do yesterday at 17:37 CEST - Setup snap “gtk-common-themes” (319) security profiles (phase 2)
Do yesterday at 17:37 CEST - Automatically connect eligible plugs and slots of snap “gtk-common-themes”
Do yesterday at 17:37 CEST - Set automatic aliases for snap “gtk-common-themes”
Do yesterday at 17:37 CEST - Setup snap “gtk-common-themes” aliases
Do yesterday at 17:37 CEST - Run install hook of “gtk-common-themes” snap if present
Do yesterday at 17:37 CEST - Start snap “gtk-common-themes” (319) services
Do yesterday at 17:37 CEST - Run configure hook of “gtk-common-themes” snap if present
Do yesterday at 17:37 CEST - Mark system seeded
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook prepare-plug-core-support-plug of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook prepare-slot-core-support of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Connect core:core-support-plug to core:core-support
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook connect-slot-core-support of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook connect-plug-core-support-plug of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook prepare-plug-core-support-plug of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook prepare-slot-core-support of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Connect core:core-support-plug to core:core-support
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook connect-slot-core-support of snap “core”
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Run hook connect-plug-core-support-plug of snap “core”


Make snap “core” (4830) available to the system

2018-06-20T17:37:38+02:00 INFO Requested daemon restart.


Setup snap “core” (4830) security profiles (phase 2)

2018-06-20T17:37:38+02:00 INFO Waiting for restart…

corrado@corrado-p13-cc-0620:~$ snap tasks 2
Status Spawn Ready Summary
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Generate device key
Done yesterday at 17:37 CEST yesterday at 17:37 CEST Request device serial

corrado@corrado-p13-cc-0620:~$ snap tasks 3
Status Spawn Ready Summary
Done yesterday at 19:36 CEST yesterday at 19:36 CEST Run hook prepare-plug-gnome-3-26-1604 of snap “gnome-calculator”
Done yesterday at 19:36 CEST yesterday at 19:36 CEST Run hook prepare-slot-gnome-3-26-1604 of snap “gnome-3-26-1604”
Done yesterday at 19:36 CEST yesterday at 19:36 CEST Connect gnome-calculator:gnome-3-26-1604 to gnome-3-26-1604:gnome-3-26-1604
Done yesterday at 19:36 CEST yesterday at 19:36 CEST Run hook connect-slot-gnome-3-26-1604 of snap “gnome-3-26-1604”
Done yesterday at 19:36 CEST yesterday at 19:36 CEST Run hook connect-plug-gnome-3-26-1604 of snap “gnome-calculator”

corrado@corrado-p13-cc-0620:~$

output from snap tasks 1 speaks about gnome-characters, gnome-logs and gnome-system-monitor but i don’t see them
corrado@corrado-p13-cc-0620:~$ snap list
Name Version Rev Tracking Developer Notes
core 16-2.33 4830 stable canonical core
gnome-3-26-1604 3.26.0 64 stable/… canonical -
gnome-calculator 3.28.1 178 stable/… canonical -
corrado@corrado-p13-cc-0620:~$

This seems to be stuck

Can you please put triple backticks (```) around the terminal output, it will render much better here.

CC @pstolowski is this the same auto-connect bug we reverted a while ago?

On a different partition same PC installed from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180509)
gnome-calculator was running smoothly until last update few minutes ago but now i see the same problem!!!

corrado@corrado-p6-cc-0509:~$ snap changes
error: no changes found
corrado@corrado-p6-cc-0509:~$ snap run gnome-calculator
You need to connect this snap to the gnome platform snap.

You can do this with those commands:
snap install gnome-3-26-1604
snap connect gnome-calculator:gnome-3-26-1604 gnome-3-26-1604

(the '3-26-1604' number defines the platform version and might change)
corrado@corrado-p6-cc-0509:~$ snap changes
ID   Status  Spawn                Ready                Summary
10   Done    today at 17:49 CEST  today at 17:50 CEST  Auto-refresh snap "core"

corrado@corrado-p6-cc-0509:~$ 

corrado@corrado-p6-cc-0509:~$ snap list
Name                  Version       Rev   Tracking  Developer  Notes
chromium              67.0.3396.62  353   stable    canonical  -
core                  16-2.33       4830  stable    canonical  core
gnome-3-26-1604       3.26.0        64    stable/…  canonical  -
gnome-calculator      3.28.1        178   stable/…  canonical  -
gnome-characters      3.28.2        101   stable/…  canonical  -
gnome-logs            3.28.2        37    stable/…  canonical  -
gnome-system-monitor  3.26.0        45    stable    canonical  -
gtk-common-themes     0.1           319   stable    canonical  -
corrado@corrado-p6-cc-0509:~$ 

@corradoventu Coud you please show the output of snap change 10?

Status  Spawn                Ready                Summary
Done    today at 17:49 CEST  today at 17:49 CEST  Ensure prerequisites for "core" are available
Done    today at 17:49 CEST  today at 17:50 CEST  Download snap "core" (4830) from channel "stable"
Done    today at 17:49 CEST  today at 17:50 CEST  Fetch and check assertions for snap "core" (4830)
Done    today at 17:49 CEST  today at 17:50 CEST  Mount snap "core" (4830)
Done    today at 17:49 CEST  today at 17:50 CEST  Run pre-refresh hook of "core" snap if present
Done    today at 17:49 CEST  today at 17:50 CEST  Stop snap "core" services
Done    today at 17:49 CEST  today at 17:50 CEST  Remove aliases for snap "core"
Done    today at 17:49 CEST  today at 17:50 CEST  Make current revision for snap "core" unavailable
Done    today at 17:49 CEST  today at 17:50 CEST  Copy snap "core" data
Done    today at 17:49 CEST  today at 17:50 CEST  Setup snap "core" (4830) security profiles
Done    today at 17:49 CEST  today at 17:50 CEST  Make snap "core" (4830) available to the system
Done    today at 17:49 CEST  today at 17:50 CEST  Setup snap "core" (4830) security profiles (phase 2)
Done    today at 17:49 CEST  today at 17:50 CEST  Automatically connect eligible plugs and slots of snap "core"
Done    today at 17:49 CEST  today at 17:50 CEST  Set automatic aliases for snap "core"
Done    today at 17:49 CEST  today at 17:50 CEST  Setup snap "core" aliases
Done    today at 17:49 CEST  today at 17:50 CEST  Run post-refresh hook of "core" snap if present
Done    today at 17:49 CEST  today at 17:50 CEST  Start snap "core" (4830) services
Done    today at 17:49 CEST  today at 17:50 CEST  Clean up "core" (4830) install
Done    today at 17:49 CEST  today at 17:50 CEST  Run configure hook of "core" snap if present

......................................................................
Make snap "core" (4830) available to the system

2018-06-21T17:50:33+02:00 INFO Requested daemon restart.

......................................................................
Setup snap "core" (4830) security profiles (phase 2)

2018-06-21T17:50:33+02:00 INFO Waiting for restart...

corrado@corrado-p6-cc-0509:~$ 

note: snap core before updates was
core 16-2.32.8 4650 stable canonical core
now
core 16-2.33 4830 stable canonical core

I’m looking at it. I’m able to reproduce with fresh install of daily cosmic image.

Ok, after some investigation and discussion on IRC it turns out the problem (and fix) are known but for some reason the fix hasn’t landed in archives (nor the cosmic image) yet - see https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1772844