User Tools

Site Tools


linux:unattended-updates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:unattended-updates [2021/01/21 23:16] Wulf Rajeklinux: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::Origins-Pattern { Unattended-Upgrade::Origins-Pattern {
-      "o=Debian,n=stretch"; +      "o=Debian,n=bullseye"; 
-      "o=Debian,n=stretch-updates"; +      "o=Debian,n=bullseye-updates"; 
-      "o=Debian,n=stretch-proposed-updates"; +      "o=Debian,n=bullseye-proposed-updates"; 
-      "o=Debian,n=stretch,l=Debian-Security";+      "o=Debian,n=bullseye-security"; 
 +      "o=Debian,n=bullseye,l=Debian-Security";
  
 //To enable ALL updates, use this:       //To enable ALL updates, use this:      
Line 103: Line 104:
 </code> </code>
  
 +===== Running on battery =====
 +
 +For unattended-upgrades to skip upgrades when the system is running on battery, the following package needs to be installed:
 +<code>
 +apt-get install powermgmt-base
 +</code>
  
linux/unattended-updates.1611270982.txt.gz · Last modified: (external edit)