]> freie-schul-it.de Git - fsit_cmgt.git/blob - files/apt-unattended-upgrades_50unattended-upgrades
damit die Rolle via Galaxy installiert wird
[fsit_cmgt.git] / files / apt-unattended-upgrades_50unattended-upgrades
1 // Automatically upgrade packages from these (origin:archive) pairs
2 //
3 // Note that in Ubuntu security updates may pull in new dependencies
4 // from non-security sources (e.g. chromium). By allowing the release
5 // pocket these get automatically pulled in.
6 Unattended-Upgrade::Allowed-Origins {
7 "${distro_id}:${distro_codename}";
8 "${distro_id}:${distro_codename}-security";
9 // Extended Security Maintenance; doesn't necessarily exist for
10 // every release and this system may not have it installed, but if
11 // available, the policy for updates is such that unattended-upgrades
12 // should also install from here by default.
13 "${distro_id}ESMApps:${distro_codename}-apps-security";
14 "${distro_id}ESM:${distro_codename}-infra-security";
15 "${distro_id}:${distro_codename}-updates";
16 "LP-PPA-mozillateam:${distro_codename}";
17 // "${distro_id}:${distro_codename}-proposed";
18 // "${distro_id}:${distro_codename}-backports";
19 };
20
21 // Python regular expressions, matching packages to exclude from upgrading
22 Unattended-Upgrade::Package-Blacklist {
23 // The following matches all packages starting with linux-
24 // "linux-";
25
26 // Use $ to explicitely define the end of a package name. Without
27 // the $, "libc6" would match all of them.
28 // "libc6$";
29 // "libc6-dev$";
30 // "libc6-i686$";
31
32 // Special characters need escaping
33 // "libstdc\+\+6$";
34
35 // The following matches packages like xen-system-amd64, xen-utils-4.1,
36 // xenstore-utils and libxenstore3.0
37 // "(lib)?xen(store)?";
38
39 // For more information about Python regular expressions, see
40 // https://docs.python.org/3/howto/regex.html
41 };
42
43 // This option controls whether the development release of Ubuntu will be
44 // upgraded automatically. Valid values are "true", "false", and "auto".
45 Unattended-Upgrade::DevRelease "auto";
46
47 // This option allows you to control if on a unclean dpkg exit
48 // unattended-upgrades will automatically run
49 // dpkg --force-confold --configure -a
50 // The default is true, to ensure updates keep getting installed
51 //Unattended-Upgrade::AutoFixInterruptedDpkg "true";
52
53 // Split the upgrade into the smallest possible chunks so that
54 // they can be interrupted with SIGTERM. This makes the upgrade
55 // a bit slower but it has the benefit that shutdown while a upgrade
56 // is running is possible (with a small delay)
57 //Unattended-Upgrade::MinimalSteps "true";
58
59 // Install all updates when the machine is shutting down
60 // instead of doing it in the background while the machine is running.
61 // This will (obviously) make shutdown slower.
62 // Unattended-upgrades increases logind's InhibitDelayMaxSec to 30s.
63 // This allows more time for unattended-upgrades to shut down gracefully
64 // or even install a few packages in InstallOnShutdown mode, but is still a
65 // big step back from the 30 minutes allowed for InstallOnShutdown previously.
66 // Users enabling InstallOnShutdown mode are advised to increase
67 // InhibitDelayMaxSec even further, possibly to 30 minutes.
68 //Unattended-Upgrade::InstallOnShutdown "false";
69
70 // Send email to this address for problems or packages upgrades
71 // If empty or unset then no email is sent, make sure that you
72 // have a working mail setup on your system. A package that provides
73 // 'mailx' must be installed. E.g. "user@example.com"
74 //Unattended-Upgrade::Mail "";
75
76 // Set this value to one of:
77 // "always", "only-on-error" or "on-change"
78 // If this is not set, then any legacy MailOnlyOnError (boolean) value
79 // is used to chose between "only-on-error" and "on-change"
80 //Unattended-Upgrade::MailReport "on-change";
81
82 // Remove unused automatically installed kernel-related packages
83 // (kernel images, kernel headers and kernel version locked tools).
84 //Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
85
86 // Do automatic removal of newly unused dependencies after the upgrade
87 //Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
88
89 // Do automatic removal of unused packages after the upgrade
90 // (equivalent to apt-get autoremove)
91 //Unattended-Upgrade::Remove-Unused-Dependencies "false";
92
93 // Automatically reboot *WITHOUT CONFIRMATION* if
94 // the file /var/run/reboot-required is found after the upgrade
95 //Unattended-Upgrade::Automatic-Reboot "false";
96
97 // Automatically reboot even if there are users currently logged in
98 // when Unattended-Upgrade::Automatic-Reboot is set to true
99 //Unattended-Upgrade::Automatic-Reboot-WithUsers "true";
100
101 // If automatic reboot is enabled and needed, reboot at the specific
102 // time instead of immediately
103 // Default: "now"
104 //Unattended-Upgrade::Automatic-Reboot-Time "02:00";
105
106 // Use apt bandwidth limit feature, this example limits the download
107 // speed to 70kb/sec
108 //Acquire::http::Dl-Limit "70";
109
110 // Enable logging to syslog. Default is False
111 // Unattended-Upgrade::SyslogEnable "false";
112
113 // Specify syslog facility. Default is daemon
114 // Unattended-Upgrade::SyslogFacility "daemon";
115
116 // Download and install upgrades only on AC power
117 // (i.e. skip or gracefully stop updates on battery)
118 // Unattended-Upgrade::OnlyOnACPower "true";
119
120 // Download and install upgrades only on non-metered connection
121 // (i.e. skip or gracefully stop updates on a metered connection)
122 // Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";
123
124 // Verbose logging
125 // Unattended-Upgrade::Verbose "false";
126
127 // Print debugging information both in unattended-upgrades and
128 // in unattended-upgrade-shutdown
129 // Unattended-Upgrade::Debug "false";
130
131 // Allow package downgrade if Pin-Priority exceeds 1000
132 // Unattended-Upgrade::Allow-downgrade "false";