experimental.refresh-app-awareness makes it impossible to update snap-store snap
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.
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"
description: | updated |
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