@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
changed /var/lib/snapd/seed/seed.yaml moving
name: gtk-common-themes
channel: stable/ubuntu-18.10
file: gtk-common-themes_319.snap
before the calculator entry as suggested in https://ubuntuforums.org/showthread.php?t=2393347
corrado@corrado-HP-p4-cc-0620:~$ snap abort 3
corrado@corrado-HP-p4-cc-0620:~$ snap changes
ID Status Spawn Ready Summary
1 Undone 4 days ago, at 09:33 CEST today at 07:14 CEST Initialize system state
3 Undone today at 07:14 CEST today at 16:22 CEST Initialize system state
4 Doing today at 16:22 CEST - Initialize system state
corrado@corrado-HP-p4-cc-0620:~$ snap changes
ID Status Spawn Ready Summary
1 Undone 4 days ago, at 09:33 CEST today at 07:14 CEST Initialize system state
3 Undone today at 07:14 CEST today at 16:22 CEST Initialize system state
4 Done today at 16:22 CEST today at 16:23 CEST Initialize system state
corrado@corrado-HP-p4-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 -
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-HP-p4-cc-0620:~$
still same problem with Ubuntu installed from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180708)
still same problem with Ubuntu installed from Ubuntu 18.10 “Cosmic Cuttlefish” - Alpha amd64 (20180915)
i dont think reporting the bug status weekly is of much help here …
as long as the ubuntu-meta status in https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1772844 does not change it will simply not be fixed…
(a seed change needs a subsequent re-generation of -meta and an upload, that simply didnt happen yet and the “Confirmed” bug status reflects that… i also doubt the people caring for that package read this forum so they will not notice the weekly pings)
On a Bionic system, gnome-calculator fails to start:
$ /snap/bin/gnome-calculator
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Documents': No such file or directory
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Desktop': No such file or directory
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Downloads': No such file or directory
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Music': No such file or directory
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Pictures': No such file or directory
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Videos': No such file or directory
ln: failed to create symbolic link '/home/sdeziel/snap/gnome-calculator/180/snap/gnome-calculator/180/Templates': No such file or directory
Unable to init server: Could not connect: Connection refused
(gnome-calculator:23594): Gtk-WARNING **: 11:43:49.672: cannot open display: :0
But it seems to be related to the Apparmor confinement:
audit: type=1400 audit(1532100801.448:326): apparmor="DENIED" operation="open" profile="snap.gnome-calculator.gnome-calculator" name="/home/sdeziel/.config/user-dirs.dirs" pid=19518 comm="head" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(1532100801.460:327): apparmor="DENIED" operation="open" profile="snap.gnome-calculator.gnome-calculator" name="/etc/xdg/user-dirs.conf" pid=19533 comm="xdg-user-dirs-u" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
audit: type=1400 audit(1532100801.508:328): apparmor="DENIED" operation="connect" profile="snap.gnome-calculator.gnome-calculator" pid=19472 comm="gnome-calculato" family="unix" sock_type="stream" protocol=0 requested_mask="send receive connect" denied_mask="send connect" addr=none peer_addr="@/tmp/.X11-unix/X0" peer="unconfined"
This was fixed for me with snapd:
$ snap version
snap 2.36.2
snapd 2.36.2
series 16
ubuntu 18.04
kernel 4.15.0-43-generic
And gnome-calculator 3.30.1:
$ snap info gnome-calculator
name: gnome-calculator
summary: GNOME Calculator
publisher: Canonical✓
license: unset
description: |
GNOME Calculator is an application that solves mathematical equations.
Though it at first appears to be a simple calculator with only basic
arithmetic operations, you can switch into Advanced, Financial, or
Programming mode to find a surprising set of capabilities.
The Advanced calculator supports many operations, including:
logarithms, factorials, trigonometric and hyperbolic functions,
modulus division, complex numbers, random number generation, prime
factorization and unit conversions.
Financial mode supports several computations, including periodic interest
rate, present and future value, double declining and straight line
depreciation, and many others.
Programming mode supports conversion between common bases (binary, octal,
decimal, and hexadecimal), boolean algebra, one’s and two’s complementation,
character to character code conversion, and more.
commands:
- gnome-calculator
snap-id: J8OcDPQ0JM8dbvk29HRqpWVI9kBw0atG
tracking: stable
refresh-date: today at 13:44 EST
channels:
stable: 3.30.1 (260) 2MB -
candidate: 3.30.1 (260) 2MB -
beta: 3.28.2 (183) 2MB -
edge: 3.30.0+git42.8307a34 (257) 2MB -
installed: 3.30.1 (260) 2MB -