linux:unattended-updates
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:unattended-updates [2018/07/24 10:54] – Wulf Rajek | linux:unattended-updates [2023/06/05 14:05] (current) – [Initial installation and configuration] Wulf Rajek | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| #uncomment the desired origin. For only security updates, comment out everything else | #uncomment the desired origin. For only security updates, comment out everything else | ||
| Unattended-Upgrade:: | Unattended-Upgrade:: | ||
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| + | " | ||
| //To enable ALL updates, use this: | //To enable ALL updates, use this: | ||
| Line 92: | Line 93: | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== Notify required reboot on login ===== | ||
| + | < | ||
| + | vi / | ||
| + | </ | ||
| + | add after the .bashrc call, but before the mesg line: | ||
| + | < | ||
| + | [ -f / | ||
| + | </ | ||
| + | |||
| + | ===== Running on battery ===== | ||
| + | |||
| + | For unattended-upgrades to skip upgrades when the system is running on battery, the following package needs to be installed: | ||
| + | < | ||
| + | apt-get install powermgmt-base | ||
| + | </ | ||
linux/unattended-updates.1532426057.txt.gz · Last modified: (external edit)