Refreshing snapd does not respect assumes of installed snaps

Bug #2019934 reported by Alfonso Sanchez-Beato
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Confirmed
Medium
Unassigned

Bug Description

With an installed snap (pc gadget) with assumes section:

assumes:
  - snapd2.59.3

I was able to refresh snapd to an older version:

$ snap list
Name Version Rev Tracking Publisher Notes
core22 20230516 645 latest/edge canonical✓ base
pc 22-0.3 x1 - - gadget
pc-kernel 5.15.0-72.79.1 1289 22/edge canonical✓ kernel
snapd 2.59.4+git895.g5aeeeae 19386 latest/edge canonical✓ snapd

$ snap refresh --stable snapd
2023-05-17T08:03:16Z INFO Waiting for automatic snapd restart...
snapd 2.59.2 from Canonical✓ refreshed

while it probably should check is some "assumes" would conflict with the new version.

Changed in snapd:
importance: Undecided → Medium
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.