4 ms·
"automate updates" A device can be woken up at silly o'clock and "apt update && apt upgrade && apt autoremove && shutdown -r now" can be run via cron. apt as
by gerdesj 1y ago
"automate updates"
A device can be woken up at silly o'clock and "apt update && apt upgrade && apt autoremove && shutdown -r now" can be run via cron.
apt as deployed by Debian itself has options for automatic updates (via cron), which is the better option. Have a look under /etc/apt/apt.conf.d/
- trinsic2 1y agoI was thinking about setting up a package as part of the system build to do remote maintenance and I wondered if manually doing those updates every six months would be too long of a window. That way if something breaks, I can visit the customers location to fix it if I have to.
- encom 1y agoupgrade and autoremove can be combined in one command. My usual line is: apt full-upgrade -V --auto-remove --purge -V is just for verbose old/new version info.
- Orygin 1y ago> A device can be woken up at silly o'clock It can't. The device is in my room and making noise when on. If that device wakes up and wakes me up, it's either getting a force shutdown (breaking the update) or getting in the trash. Plus the device is generally left in suspend mode, so shutting it down would interrupt my workflow.
- 1718627440 1y agoUpdates on Linux distros are not really a problem. You can work the whole time and just run updates in the background. You can even switch to a newer Linux kernel, without closing any userspace programs.