Results 1 to 4 of 4

Thread: 18.04 LTS - Launching gnome-system-monitor from icon gives snap error

  1. #1
    Join Date
    May 2018
    Beans
    2

    18.04 LTS - Launching gnome-system-monitor from icon gives snap error

    All

    Brand new install 18.04 LTS on brand new laptop. All works exceedingly well. However, I have created a favourite for the gnome-system-monitor on the dock. This was working well, I was regularly checking CPU, Memory etc on the new laptop. However, went to launch it this morning (next day) and nothing happened.

    /var/log/syslog is reporting:

    May 13 10:49:27 xxxx gnome-system-monitor_gnome-system-monitor.desktop[29538]: You need to connect this snap to the gnome platform snap.
    May 13 10:49:27 xxxx gnome-system-monitor_gnome-system-monitor.desktop[29538]: You can do this with those commands:
    May 13 10:49:27 xxxx gnome-system-monitor_gnome-system-monitor.desktop[29538]: snap install gnome-3-26-1604
    May 13 10:49:27 xxxx gnome-system-monitor_gnome-system-monitor.desktop[29538]: snap connect gnome-system-monitor:gnome-3-26-1604 gnome-3-26-1604
    May 13 10:49:27 xxxx gnome-system-monitor_gnome-system-monitor.desktop[29538]: (the '3-26-1604' number defines the platform version and might change)
    At a CLI running running the same gnome-system-monitor command I get same:

    $ gnome-system-monitor
    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-system-monitor:gnome-3-26-1604 gnome-3-26-1604

    (the '3-26-1604' number defines the platform version and might change)
    Is this a bug worth reporting? What are the ramifications of running the commands suggested? I have not played with snap, so not sure what that last line means about version numbers being a concern.
    All the other icons on the dock seem to launch their apps OK. Not aware of any auto updates that might have changed version numbers, I am running with defaults in that area.

    Cheers
    Jim

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,189

    Re: 18.04 LTS - Launching gnome-system-monitor from icon gives snap error

    just run those 2 commands:
    snap install gnome-3-26-1604
    snap connect gnome-system-monitor:gnome-3-26-1604 gnome-3-26-1604

  3. #3
    Join Date
    Aug 2013
    Beans
    4,050

    Re: 18.04 LTS - Launching gnome-system-monitor from icon gives snap error

    Or you can just remove it
    Code:
    sudo snap remove gnome-system-monitor
    and install the .deb
    Code:
    sudo apt install gnome-system-monitor
    You can see which packages are snap by
    Code:
    snap list
    Last edited by monkeybrain20122; May 13th, 2018 at 01:33 AM.

  4. #4
    Join Date
    May 2018
    Beans
    2

    Re: 18.04 LTS - Launching gnome-system-monitor from icon gives snap error

    Cheers

    Using some of the commands suggested here is some of my forensic investigation. (The teatime snap was installed so I didn't burn the pizza lol)

    xxxx:~$ snap list
    Name Version Rev Tracking Developer Notes
    core 16-2.32.6 4571 stable canonical core
    gnome-3-26-1604 3.26.0 64 stable/… canonical -
    gnome-calculator 3.28.1 167 stable/… canonical -
    gnome-characters 3.28.0 86 stable/… canonical -
    gnome-logs 3.28.0 31 stable/… canonical -
    gnome-system-monitor 3.26.0 39 stable/… canonical -
    teatime 18.03 89 stable paroj -

    xxxx:~$ snap find gnome-system-monitor
    Name Version Developer Notes Summary
    gnome-system-monitor 3.26.0 canonical - System Monitor

    xxxx:~$ apt-cache policy gnome-system-monitor
    gnome-system-monitor:
    Installed: (none)
    Candidate: 3.28.1-1
    Version table:
    3.28.1-1 500
    500 http://nz.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

    xxxx:~$ snap changes
    ID Status Spawn Ready Summary
    1 Done 2018-05-12T03:48:53Z 2018-05-12T03:49:12Z Initialize system state
    2 Done 2018-05-12T03:48:53Z 2018-05-12T03:49:57Z Initialize device
    3 Done 2018-05-12T07:37:38Z 2018-05-12T07:40:57Z Install "teatime" snap
    4 Done 2018-05-12T08:04:01Z 2018-05-12T08:10:26Z Auto-refresh 6 snaps

    xxxx:~$ date
    Sun May 13 13:21:53 NZST 2018
    xxxx:~$

    :/var/log# grep snap syslog
    May 13 05:45:20 xxxx snapd[11337]: 2018/05/13 05:45:20.808352 storehelpers.go:387: cannot refresh:
    May 13 05:45:20 xxxx snapd[11337]: snap "gnome-3-26-1604": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: snap "gnome-system-monitor": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: snap "teatime": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: snap "core": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: snap "gnome-characters": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: snap "gnome-calculator": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: snap "gnome-logs": snap has no updates available
    May 13 05:45:20 xxxx snapd[11337]: 2018/05/13 05:45:20.811140 autorefresh.go:338: auto-refresh: all snaps are up-to-date
    May 13 06:00:18 xxxx snapd[11337]: 2018/05/13 06:00:18.403513 storehelpers.go:387: cannot refresh:
    May 13 06:00:18 xxxx snapd[11337]: snap "gnome-3-26-1604": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: snap "gnome-calculator": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: snap "teatime": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: snap "gnome-logs": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: snap "gnome-characters": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: snap "core": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: snap "gnome-system-monitor": snap has no updates available
    May 13 06:00:18 xxxx snapd[11337]: 2018/05/13 06:00:18.406476 autorefresh.go:338: auto-refresh: all snaps are up-to-date
    May 13 09:52:56 xxxx gnome-system-monitor_gnome-system-monitor.desktop[26643]: You need to connect this snap to the gnome platform snap.
    May 13 09:52:56 xxxx gnome-system-monitor_gnome-system-monitor.desktop[26643]: snap install gnome-3-26-1604
    May 13 09:52:56 xxxx gnome-system-monitor_gnome-system-monitor.desktop[26643]: snap connect gnome-system-monitor:gnome-3-26-1604 gnome-3-26-1604
    May 13 09:54:38 xxxx gnome-system-monitor_gnome-system-monitor.desktop[26708]: You need to connect this snap to the gnome platform snap.
    May 13 09:54:38 xxxx gnome-system-monitor_gnome-system-monitor.desktop[26708]: snap install gnome-3-26-1604
    May 13 09:54:38 xxxx gnome-system-monitor_gnome-system-monitor.desktop[26708]: snap connect gnome-system-monitor:gnome-3-26-1604 gnome-3-26-1604
    So it looks like the gnome-system-monitor snap is installed. I am assuming the 1604 at the end of the version number is meaning 16.04 for the previous LTS version.

    Anyways. I will try removing the snap and then running the snap install, snap connect commands as suggested. If all falls to big pile of custard, I will try the Apt Repository version.

    Again cheers, and thanks for the quick responses.

    Jim

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •