updates list not updated when snap autorefresh

Bug #1863812 reported by dann frazier
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
New
Undecided
Unassigned
gnome-software (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Today I noticed that the software manager is telling me there's a juju update available (2.7.1), with an option to update. When I click update, it says "Unable to update juju: snap has no updates available". Sure enough, `snap info` confirms that I'm already on 2.7.*2*:

channels:
  stable: 2.7.2 2020-02-18 (10671) 72MB classic
  candidate: ↑
  beta: ↑
  edge: 2.8-beta1+develop-29900ab 2020-02-18 (10690) 81MB classic
  2.7/stable: 2.7.2 2020-02-18 (10671) 72MB classic
  2.7/candidate: 2.7.3+2.7-aa61342 2020-02-18 (10691) 81MB classic
  2.7/beta: ↑
  2.7/edge: 2.7.3+2.7-aa61342 2020-02-18 (10691) 81MB classic
  2.6/stable: 2.6.10 2019-10-30 (9484) 69MB classic
  2.6/candidate: ↑
  2.6/beta: ↑
  2.6/edge: 2.6.11+2.6-b96e122 2020-01-22 (10408) 75MB classic
  2.5/stable: 2.5.8 2019-06-27 (8361) 67MB classic
  2.5/candidate: ↑
  2.5/beta: ↑
  2.5/edge: 2.5.9+2.5-36af233 2019-07-24 (8546) 73MB classic
  2.4/stable: 2.4.7 2019-05-23 (6012) 58MB classic
  2.4/candidate: ↑
  2.4/beta: ↑
  2.4/edge: ↑
  2.3/stable: 2.3.9 2018-09-19 (5267) 55MB classic
  2.3/candidate: ↑
  2.3/beta: ↑
  2.3/edge: 2.3.10+2.3-41313d1 2019-03-25 (7080) 55MB classic
installed: 2.7.2 (10671) 72MB classic

gnome-software 3.35.2-0ubuntu2
snapd 2.43.3+git1.8109f8

Revision history for this message
dann frazier (dannf) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Was the snap maybe autorefreshed in the background during the same time?
snap changes should give you an hint about that

Unsure how gnome-software can/should handle that properly (it should at least refresh the list when changes are applied)

Changed in gnome-software (Ubuntu):
importance: Undecided → Low
Revision history for this message
dann frazier (dannf) wrote :

I suspect it did autorefresh, but didn't confirm. But yeah, the issue IMO is the UI one. Once I click update, I'd expect gnome-software to see that it was already up to date and respond as though the update was complete - i.e., go away :)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I had exactly te same behaviour with LXD. The was a update notification in gnome-shell. Clicking on it opened gnome-shell with the LXD update but there was no update available.

snap changes shows that the snap has been autorefreshed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is fixed in the snap-store which isn't listing snap updates in the UI since those are handled automatically

summary: - tells me an update is available, but i'm running a newer version
+ updates list not updated when snap autorefresh
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-software (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

It's still an issue with 3.38 on edge (rev490)

Changed in gnome-software (Ubuntu):
importance: Low → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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