is it possible to disable the automatic refreshes on ubuntu core?
i tried it with
sudo systemctl disable snapd.refresh.timer
but it still does automatic refreshes. at least for the kernel snap.
the automatic refreshes can be annoying if you have internet access via gsm
modem which has a limited dataplan. in this case the ubuntu core update
eats up all amount of data and there is nothing left for the application.
thanks for any hints
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer. This e-mail does not constitute a contract offer, a contract
amendment, or an acceptance of a contract offer unless explicitly and
conspicuously designated or stated as such.
how do you know that you can update a snap though ? you wont easily get that information (snapd itself polls that info a few times a day from the url you blocked) …
given that Ubuntu Core is completely built out of snaps (kernel. bootloader, rootfs all are snaps, not only the applications) you are risking to run your OS with potentially serious gaping security holes …
the better idea is to simply pick a time window where you regulary do updates every two months via the builitn scheduler instead as described on the managing updates page above. refresh.hold allows you to hold the update until a date within the next 60 days… refresh.timer gives you the ability to pick a time where the system is idle anyway…