refresh-awareness not applying update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Incomplete
|
Undecided
|
Maciej Borzecki |
Bug Description
I've noticed snapd is no longer applying updates when closing an app after being notified there's an update available for a running app.
snap --version
snap 2.61.2
snapd 2.61.2
series 16
ubuntu 23.10
kernel 6.5.0-15-generic
I've reproduced this with both firefox and telegram-desktop recently, on automatic refresh when new revisions are available.
snap changes does show the Pre-Download as complete, but nothing is triggered when the app exits. I waited a full hour and the update wasn't applied and was able to re-launch the app and a couple of hours later see a notification that there was again an update available.
I have reproduced this on 3 computers, 2 23.10 systems and a noble system. One of them had snapd beta installed
snap version
snap 2.62
snapd 2.62
series 16
ubuntu 23.10
kernel 6.5.0-26-generic
Changed in snapd: | |
milestone: | none → 2.62 |
2.61.2 contained a known issue which prevented refresh from triggering after snap applications were closed if more than one snap was a candidate during an auto-refresh. I pushed a fix for that which ended up in 2.62.
However, given the feature has a lot of moving parts, there may still be some edge cases we haven't accounted for. Any chance you have logs (preferably SNAPD_DEBUG=1 logs) from the system which had 2.62 beta installed? Is experimental refresh app awareness enabled in that system?