very confusing series of snap messages during a package update

Bug #2028189 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello, I found this snap output today *very* confusing.

Trevinho updated the matterhorn snap. He announced it, so I knew it had been updated, I knew it should have been available. (I also *think* I put all packages on hold, because the autoupdate behaviour has been very frustrating.)

Please note:
- I run snap refresh because I know an update is available, and I think it cannot be installed already.
- snap tells me all snaps are up to date.
- Because this is a surprise, I ask for information on this specific snap.
- I am surprised that it hasn't been updated for eleven months: I *just* asked for it to be refreshed, and snap told me that there was nothing to do.
- I ask for a targeted refresh, because I can't recall if "snap refresh" will override the held package status.
- I'm told that an auto-refesh is in progress. Okay. "error: " isn't great, what I wanted to happen is actually happening, but it kind of makes sense.
- snap info matterhorn doesn't report that an update is in progress
- snap info matterhorn reports an error that the snap is disabled. This is very confusing.
- snap info matterhorn finally reports that the update is installed. Finally.

I think there's multiple places this could be smoother.

Thanks

sudo [sarnold:~] 6d16h5m43s $ sudo snap refresh
[sudo] password for sarnold:
All snaps up to date.
[sarnold:~] 3s $ snap info matterhorn
name: matterhorn
summary: Matterhorn
publisher: Marco Trevisan (Treviño) (3v1n0)
store-url: https://snapcraft.io/matterhorn
contact: https://github.com/3v1n0/matterhorn-snap
license: unset
description: |
  A feature-rich Unix terminal client for the Mattermost chat system

  See https://snapcraft.io/matterhorn for more information how to configure and
  use it.
commands:
  - matterhorn
snap-id: gu5lYxe2dj12pNVT5iMvSqNDfVCBxaGq
tracking: latest/edge
refresh-date: 2022-08-15
channels:
  latest/stable: 50200.19.0 2023-07-19 (378) 163MB -
  latest/candidate: ↑
  latest/beta: ↑
  latest/edge: 50200.19.0-2-g4065b34c 2023-07-19 (391) 166MB -
installed: 50200.17.0-4-g71917a58 (369) 163MB -
[sarnold:~] $ sudo snap refresh matterhorn
error: snap "matterhorn" has "auto-refresh" change in progress
[sarnold:~] 10 $ snap info matterhorn
name: matterhorn
summary: Matterhorn
publisher: Marco Trevisan (Treviño) (3v1n0)
store-url: https://snapcraft.io/matterhorn
contact: https://github.com/3v1n0/matterhorn-snap
license: unset
description: |
  A feature-rich Unix terminal client for the Mattermost chat system

  See https://snapcraft.io/matterhorn for more information how to configure and
  use it.
commands:
  - matterhorn
snap-id: gu5lYxe2dj12pNVT5iMvSqNDfVCBxaGq
tracking: latest/edge
refresh-date: 2022-08-15
channels:
  latest/stable: 50200.19.0 2023-07-19 (378) 163MB -
  latest/candidate: ↑
  latest/beta: ↑
  latest/edge: 50200.19.0 2023-07-19 (392) 166MB -
installed: 50200.17.0-4-g71917a58 (369) 163MB -
[sarnold:~] $ snap info matterhorn
name: matterhorn
summary: Matterhorn
publisher: Marco Trevisan (Treviño) (3v1n0)
store-url: https://snapcraft.io/matterhorn
contact: https://github.com/3v1n0/matterhorn-snap
license: unset
description: |
  A feature-rich Unix terminal client for the Mattermost chat system

  See https://snapcraft.io/matterhorn for more information how to configure and
  use it.
commands:
  - matterhorn
snap-id: gu5lYxe2dj12pNVT5iMvSqNDfVCBxaGq
tracking: latest/edge
refresh-date: 2022-08-15
channels:
  latest/stable: 50200.19.0 2023-07-19 (378) 163MB -
  latest/candidate: ↑
  latest/beta: ↑
  latest/edge: 50200.19.0 2023-07-19 (392) 166MB -
installed: 50200.17.0-4-g71917a58 (369) 163MB -
[sarnold:~] $ sudo snap refresh matterhorn
error: cannot refresh "matterhorn": refreshing disabled snap "matterhorn" not supported
[sarnold:~] 1 $ snap info matterhorn
name: matterhorn
summary: Matterhorn
publisher: Marco Trevisan (Treviño) (3v1n0)
store-url: https://snapcraft.io/matterhorn
contact: https://github.com/3v1n0/matterhorn-snap
license: unset
description: |
  A feature-rich Unix terminal client for the Mattermost chat system

  See https://snapcraft.io/matterhorn for more information how to configure and
  use it.
commands:
  - matterhorn
snap-id: gu5lYxe2dj12pNVT5iMvSqNDfVCBxaGq
tracking: latest/edge
refresh-date: today at 17:39 UTC
channels:
  latest/stable: 50200.19.0 2023-07-19 (378) 163MB -
  latest/candidate: ↑
  latest/beta: ↑
  latest/edge: 50200.19.0 2023-07-19 (392) 166MB -
installed: 50200.19.0-2-g4065b34c (391) 166MB -
[sarnold:~] $

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: snapd 2.58+20.04.1
ProcVersionSignature: Ubuntu 5.4.0-152.169-generic 5.4.235
Uname: Linux 5.4.0-152-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Jul 19 17:41:45 2023
SourcePackage: snapd
UpgradeStatus: Upgraded to focal on 2020-01-24 (1271 days ago)

Revision history for this message
Seth Arnold (seth-arnold) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.