Install specific version of snap

Is there a way to install a specific version of a snap that is not currently on any track?

Here is a use case. MicroK8s releases on specific tracks 1.25, 1.26 etc. These tracks hold the latest patch releases, for example at one point in time tracks 1.25 and 1.26 may hold 1.25.5 and 1.26.2 respectively. There is a customer that needs a very specific version of Kubernetes because for example the customer has certified his workload for 1.26.1 and not for 1.26.2.

We (MicroK8s) could have one track for each patch release but that would explode the tracks space as there is one patch release per supported version every about 2-3 weeks. Maybe if there was an option to hide some tracks that would work.

1 Like