Hi everyone,
Thanks for taking to time to help us, once again. I have been reviewing the “Managing the LXD snap” document hoping to understand the best course of action.
If I understand correctly, in order to install a specific version and keep it forever we need:
- to determine which is the latest version (let’s call it X)
- to execute
sudo snap install lxd --channel=[X-1]/stable
By installing the release before the latest we ensure it will never be updated (if we did this with the latest it would get updated at some point according to the document).
If X=2.0 or 3.0 or 4.0 we would be able to do this as many times as necessary, but since we need lxd >= 4.9 we are unable to target a specific version for several installations that would get done in the course of months, because as new versions are released the older ones are deleted.
Am I correct?
Assuming I am correct in interpreting the document this would mean that the next opportunity to target a specific release would be when 5.1 is available. When 5.1 is available, doing:
sudo snap install lxd --channel=5.0/stable
would install 5.0 in such a way that it would not get updated without explicit action from us. But at that point, if a bug was found in 5.0 that would be fixed, say in 5.2, we would again be unable to target a specific version, until 6.1.
So, if my understanding is correct we need to forget the idea of targeting the same version for the different installations that we will do during the course of a year. We will be able to keep a certain version fixed on each installation with:
sudo snap install lxd --channel=[X-1]/stable
where X is the latest version, but we will need to do acceptance tests on version X-1 for every installation.
I kindly ask you to confirm if this is the correct interpretation of the document.
Thanks again.