Refreshing snapd does not respect assumes of installed snaps
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+
$ snap refresh --stable snapd
2023-05-
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 |