experimental.refresh-app-awareness makes it impossible to update snap-store snap

Bug #1903977 reported by Alan Pope 🍺🐧🐱 🦄
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
Confirmed
Low
Unassigned

Bug Description

An upcoming (currently experimental) feature of snapd makes it possible to suppress updates when an application is currently running. Useful to prevent applications breaking when updated under the app when running.

If you use snap-store to update your snaps, and there's an update to snap-store itself, it's impossible to update. Because a) the application is open, b) the application constantly runs in the background. It'll almost never update.

Steps to reproduce.

1) Install snap-store from edge
2) snap set core experimental.refresh-app-awareness=true (see https://forum.snapcraft.io/t/wip-refresh-app-awareness/10736 for details)
3) Wait for an update to snap-store
4) Open updates tab in snap-store
5) Attempt to apply updates

Expected outcome

Updates are applied

Actual outcome

Update to snap-store fails, with an error displayed (see screenshots).
The only way to update snap-store in this situation seems to be to "killall snap-store" and then "snap refresh snap-store"

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, that's an issue indeed. We could maybe display a in-app 'update available, do you want to apply and restart the software' notification, or make it auto exit/restart when closing the UI in the case an update is pending

Changed in snap-store-desktop:
importance: Undecided → Low
status: New → Confirmed
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.