-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to check for updates only once after starting the system? #164
Comments
Hello, Thanks for the kind words :)
It is possible, the issue here is that you put Your
|
I'm gonna add this example to the documentation in case other people also wants to check for update only after the startup of the system ;) |
Thanks for the quick help.
This doesn't work. My
Trying to start the service and the same message appears.
When I change the override.conf to somewhat like
all is fine. No error message appears. So it looks like that |
Hummm... You're right, my bad! I'm searching how to disable an existing parameter entirely with a simple What you can do though is to run Make sure to delete your |
After a second thought, the I'm considering replacing the current documentation with that instead 🤔 EDIT: Well, the advantage of using |
Thanks a lot. I'll try that way. Let's see if it works. 👍 |
It looks like it works. I only got a notification after starting the computer. Great! Let's see what happens when an update of arch-update is released. 😸 |
You can actually check that it works by running You can see on my side that the timer will run again in 39min, while on your side this value should be blank (as it is not supposed to run again after the system booted).
|
Just a quick precision about that specific point: Arch-Update is smart enough to not re-send notifications for the exact same list of available updates over and over. The check is performed at boot and then once an hour by default but a notification is only sent if the list of pending updates differs from the last check (in other words, only if there are new pending available updates compared to the last time). You can actually force a check by running |
I guess I should add a precision about that in the documentation as well :) |
Looks good so far.
Good to know! 😄
Also, good to know. 😍 |
Thanks for the confirmation! 😄 I'll add all of this to the documentation and close this issue afterwards :) |
Again, thank you for the great support! |
Me pleasure :) |
…the check cycle - Add a precision in the documentation that the check function only sends a desktop notification if the list of pending updates differs from the last check (in other words, that there is at least one **new** update available compared to the last check). - Advise using `systemctl --user edit --full` instead of a "regular" edit to modify the check cycle. While it is "overkill" in most cases, it is less complex/confusing to use and allow more flexibility (for instance, it allows to get completely rid of a parameters and not just to modify its value). The `arch-update.timer` is not subject to change upstream wise so there's no apparent issue recommanding using a `--full` edit. Fixes #164
…the check cycle (#167) - Add a precision in the documentation that the check function only sends a desktop notification if the list of pending updates differs from the last check (in other words, that there is at least one **new** update available compared to the last check). - Advise using `systemctl --user edit --full` instead of a "regular" edit to modify the check cycle. While it is "overkill" in most cases, it is less complex/confusing to use and allow more flexibility (for instance, it allows to get completely rid of a parameters and not just to modify its value). The `arch-update.timer` is not subject to change upstream wise so there's no apparent issue recommanding using a `--full` edit. Fixes #164
I love the new version 2 of arch-update. I want to check for updates after starting Linux only. I enabled
arch-update-tray.service
andarch-update.timer
. Then I want to overwrite the properties of the timer service.So I added the following into the
override.conf
:I thought, that leaving the second entry empty would only check for updates after starting Linux. But when enabling the service now, I got the following error:
Isn't it possible to stop arch-update from checking for updates periodically?
The text was updated successfully, but these errors were encountered: