how to disable autorefresh in snap
Multi tool use
up vote
6
down vote
favorite
Is it possible to disable autorefresh in snap? This link says that Snaps are updated automatically in the background to the latest version, every day. Some snaps (e.g. vlc) are built daily, and it makes no sense to install them every day.
snap
add a comment |
up vote
6
down vote
favorite
Is it possible to disable autorefresh in snap? This link says that Snaps are updated automatically in the background to the latest version, every day. Some snaps (e.g. vlc) are built daily, and it makes no sense to install them every day.
snap
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
Is it possible to disable autorefresh in snap? This link says that Snaps are updated automatically in the background to the latest version, every day. Some snaps (e.g. vlc) are built daily, and it makes no sense to install them every day.
snap
Is it possible to disable autorefresh in snap? This link says that Snaps are updated automatically in the background to the latest version, every day. Some snaps (e.g. vlc) are built daily, and it makes no sense to install them every day.
snap
snap
asked Jun 30 '17 at 7:51
Ko Lin
314
314
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
1
down vote
it's currently not possible to do so,however,you can schedule the time when the snaps are being automatically updated to your liking with this command
sudo snap set core refresh.schedule=8:00-20:00
In this case the updates will happen only once a day between 8pm and 8am(An example)
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
add a comment |
up vote
1
down vote
The refresh service is launched by systemd and configured in:
- /lib/systemd/system/snapd.refresh.service
- /lib/systemd/system/snapd.refresh.timer
If you want to disable the autorefresh, override those configurations in /etc/systemd. Probaby the easiest way is to just set the timer to the frequency you like.
add a comment |
up vote
1
down vote
It is at the time of this writing not possible, which has stirred quite a debate.
However, it is possible to disable automatic updating if the network connection is metered.
First, go to your network settings.
Then, click on the cog wheels on the right side of both of your network interfaces and tick "restrict background data usage" - this marks the connection as being metered.
Finally, open a terminal and type (docs):
sudo snap set system refresh.metered=hold
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
it's currently not possible to do so,however,you can schedule the time when the snaps are being automatically updated to your liking with this command
sudo snap set core refresh.schedule=8:00-20:00
In this case the updates will happen only once a day between 8pm and 8am(An example)
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
add a comment |
up vote
1
down vote
it's currently not possible to do so,however,you can schedule the time when the snaps are being automatically updated to your liking with this command
sudo snap set core refresh.schedule=8:00-20:00
In this case the updates will happen only once a day between 8pm and 8am(An example)
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
add a comment |
up vote
1
down vote
up vote
1
down vote
it's currently not possible to do so,however,you can schedule the time when the snaps are being automatically updated to your liking with this command
sudo snap set core refresh.schedule=8:00-20:00
In this case the updates will happen only once a day between 8pm and 8am(An example)
it's currently not possible to do so,however,you can schedule the time when the snaps are being automatically updated to your liking with this command
sudo snap set core refresh.schedule=8:00-20:00
In this case the updates will happen only once a day between 8pm and 8am(An example)
edited May 1 at 6:18
Anwar
55.4k21143252
55.4k21143252
answered Dec 20 '17 at 15:53
Tanesh Chuckowree
112
112
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
add a comment |
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
``` snap set core refresh.schedule=20-8 error: cannot perform the following tasks: - Run configure hook of "core" snap (run hook "configure": cannot parse "20": not a valid time) ```
– sergiusens
Dec 21 '17 at 16:36
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
that last one worked.
– sergiusens
Dec 21 '17 at 17:19
add a comment |
up vote
1
down vote
The refresh service is launched by systemd and configured in:
- /lib/systemd/system/snapd.refresh.service
- /lib/systemd/system/snapd.refresh.timer
If you want to disable the autorefresh, override those configurations in /etc/systemd. Probaby the easiest way is to just set the timer to the frequency you like.
add a comment |
up vote
1
down vote
The refresh service is launched by systemd and configured in:
- /lib/systemd/system/snapd.refresh.service
- /lib/systemd/system/snapd.refresh.timer
If you want to disable the autorefresh, override those configurations in /etc/systemd. Probaby the easiest way is to just set the timer to the frequency you like.
add a comment |
up vote
1
down vote
up vote
1
down vote
The refresh service is launched by systemd and configured in:
- /lib/systemd/system/snapd.refresh.service
- /lib/systemd/system/snapd.refresh.timer
If you want to disable the autorefresh, override those configurations in /etc/systemd. Probaby the easiest way is to just set the timer to the frequency you like.
The refresh service is launched by systemd and configured in:
- /lib/systemd/system/snapd.refresh.service
- /lib/systemd/system/snapd.refresh.timer
If you want to disable the autorefresh, override those configurations in /etc/systemd. Probaby the easiest way is to just set the timer to the frequency you like.
answered May 10 at 13:26
Telegrapher
886511
886511
add a comment |
add a comment |
up vote
1
down vote
It is at the time of this writing not possible, which has stirred quite a debate.
However, it is possible to disable automatic updating if the network connection is metered.
First, go to your network settings.
Then, click on the cog wheels on the right side of both of your network interfaces and tick "restrict background data usage" - this marks the connection as being metered.
Finally, open a terminal and type (docs):
sudo snap set system refresh.metered=hold
add a comment |
up vote
1
down vote
It is at the time of this writing not possible, which has stirred quite a debate.
However, it is possible to disable automatic updating if the network connection is metered.
First, go to your network settings.
Then, click on the cog wheels on the right side of both of your network interfaces and tick "restrict background data usage" - this marks the connection as being metered.
Finally, open a terminal and type (docs):
sudo snap set system refresh.metered=hold
add a comment |
up vote
1
down vote
up vote
1
down vote
It is at the time of this writing not possible, which has stirred quite a debate.
However, it is possible to disable automatic updating if the network connection is metered.
First, go to your network settings.
Then, click on the cog wheels on the right side of both of your network interfaces and tick "restrict background data usage" - this marks the connection as being metered.
Finally, open a terminal and type (docs):
sudo snap set system refresh.metered=hold
It is at the time of this writing not possible, which has stirred quite a debate.
However, it is possible to disable automatic updating if the network connection is metered.
First, go to your network settings.
Then, click on the cog wheels on the right side of both of your network interfaces and tick "restrict background data usage" - this marks the connection as being metered.
Finally, open a terminal and type (docs):
sudo snap set system refresh.metered=hold
edited yesterday
Mihai Capotă
1,44711318
1,44711318
answered Nov 22 at 13:24
Martin Andersson
1541110
1541110
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f930593%2fhow-to-disable-autorefresh-in-snap%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Q8E Nw2Nx0dJ0x0G3CJ FK3 wWO4Hr,eUL7qZDOnP QTWH,FP3lY