Apologies if this is posted somewhere but I can’t find it. I am trying to find out how uupd works and how to config it. The uupd github is lacking detail and contains some incorrect info.
Primary concerns:
updating distrobox containers (looks to be off by default)
Does the system need to be idle? (and if yes define idle and can you change it)
For example in systemctl cat uupd.service contains the –disable-module-distrobox flag on the ExecStart= line. There is a comment above that says
DO NOT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
So since I don’t know what I am doing and documentation is sparse, I didn’t change it. Is the flag there because there is an issue with the distrobox upgrade module, or are you assuming most people don’t want their distroboxes updated with uupd? When I ran system update they are not updated. I would like them to be so everything is taken care of in one operation.
Then in systemctl cat uupd.timer there is the lines
[Timer] OnBootSec=20min OnUnitInactiveSec=6h
What do they mean exactly? What is UnitInactive? I thought read somewhere that updates are performed when the system is idle. What defines idle? The reason I ask as mostly leave my PC on 24/7, yet noticed that an update was delayed by a day or two until I manually checked. I wonder if is because when I am not gaming, I am running a process that uses 88-100% of CPU. So it seems like I may never get auto updates in this scenario. I am not 100%certain of this because in journalctl -u uupd.service it looks like it did check while the process is running.
I don’t mind if updates happen when this process is running, although it might be annoying if it happens when I am in the middle of a competitive online game (more concerned about network usage–plenty of CPU cores available). Is there anyway to make auto updates work for me or should I just resign to manually running the update process? I don’t even know how to tweak it to test because I can’t find the documentation.
Thanks for the help!!
Edit: Using Aurora (in case the default config is different vs others)
Thanks! So it sounds like it is safe to remove that flag. As far as inaccurate, I really only meant one part that said:
Automatic updates are ran from the systemd service to edit basic options, you can edit /etc/uupd/config.json
There was no such file. Or is it saying to create this file to edit options rather than doing sudo systemctl edit uupd.service?
I also see on the ExecStart Line the –hw-check flag, so it is performing hardware checks but the Environment variables above it are commented out, so are there default values that are used instead?