I’m attempting to make use of remodelling to change the list of snaps available on our systems
I get the following error:
$ sudo snap remodel /path/to/model.assert
error: cannot perform the following tasks:
- Create recovery system with label "20240208" (cannot create a recovery system with label "20240208" for my-station-2: cannot fetch assertion sequence point, fetcher must be created using NewSequenceFormingFetcher)
The new model file has validation-sets listed in it, previously not. I’m not certain if it’s related but a browse through snapd code potentially implies it.
Is this supported, or any other potential reason for this error?
code spelunking:
- https://github.com/snapcore/snapd/blob/2a9a5174426b0b747cef4474fad83774c1e31421/overlord/devicestate/handlers_systems.go#L255
- https://github.com/snapcore/snapd/blob/2a9a5174426b0b747cef4474fad83774c1e31421/overlord/devicestate/systems.go#L300-L320
- https://github.com/snapcore/snapd/blob/2a9a5174426b0b747cef4474fad83774c1e31421/seed/seedwriter/writer.go#L563
- https://github.com/snapcore/snapd/blob/2a9a5174426b0b747cef4474fad83774c1e31421/seed/seedwriter/writer.go#L516
- https://github.com/snapcore/snapd/blob/2a9a5174426b0b747cef4474fad83774c1e31421/asserts/fetcher.go#L179