by simosx · 6y ago · 0 comments
It is immutable systems that help you with reproducibility.
There is no actual change between the snapd setup in Ubuntu 18.04 and Ubuntu 20.04. Where do you get info on unreliable docker deployments?
It looks to me that the dislike is emotional in nature.
>
> There are four system-wide options that manage how updates are handed:
> - refresh.timer: defines the refresh frequency and schedule
> - refresh.hold: delays the next refresh until the defined time and date
> - refresh.metered: pauses refresh updates when network connection is metered
> - refresh.retain: sets how many revisions of a snap are stored on the system"
>
I think people would be much happier with snap if there was a `refresh.off` option.
If that's too over-the-line for Canonical, a `refresh.prompt` with a dismissible nag-message would be better.
It is too fragile to install yourself all the pieces.
It's just that I know that I cannot update it to Ubuntu 20 without snap breaking things for me.
There is no option to permanently disable auto-updates which is the problem being discussed.
If I install a docker image with version A and it auto-updates tomorrow to version B then the docker container is no longer reproducible.
But people seem to like flatpaks, so I don't think it's emotional. More a poor implementation.
A dirty workaround would be to get the `.snap` package from the store, then install directly from the local file.
$ snap download hello-world
Fetching snap "hello-world"
Fetching assertions for "hello-world"
Install the snap with:
snap ack hello-world_29.assert
snap install hello-world_29.snap
$ snap install hello-world_29.snap --dangerous
hello-world 6.4 installed
$ hello-world
Hello World!
$
No updates.