source: lliurex-dgti-conf-apt/trunk/fuentes/install/usr/share/lliurex-dgti-conf-apt/50unattended-upgrades @ 999

Last change on this file since 999 was 999, checked in by mabarracus, 3 years ago

Copy trusty code

File size: 2.4 KB
Line 
1// Automatically upgrade packages from these (origin:archive) pairs
2Unattended-Upgrade::Allowed-Origins {
3       
4        "LliureX trusty";
5        "LliureX trusty-updates";
6        "LliureX trusty-security";
7
8        "${distro_id}:${distro_codename}";
9        "${distro_id}:${distro_codename}-security";
10        "${distro_id}:${distro_codename}-updates";
11        "${distro_id}:${distro_codename}-proposed";
12        "${distro_id}:${distro_codename}-backports";
13};
14
15// List of packages to not update (regexp are supported)
16Unattended-Upgrade::Package-Blacklist {
17//      "vim";
18//      "libc6";
19//      "libc6-dev";
20//      "libc6-i686";
21//      "firefox";
22//      "thunderbird";
23};
24
25// This option allows you to control if on a unclean dpkg exit
26// unattended-upgrades will automatically run
27//   dpkg --force-confold --configure -a
28// The default is true, to ensure updates keep getting installed
29//Unattended-Upgrade::AutoFixInterruptedDpkg "false";
30
31// Split the upgrade into the smallest possible chunks so that
32// they can be interrupted with SIGUSR1. This makes the upgrade
33// a bit slower but it has the benefit that shutdown while a upgrade
34// is running is possible (with a small delay)
35//Unattended-Upgrade::MinimalSteps "true";
36
37// Install all unattended-upgrades when the machine is shuting down
38// instead of doing it in the background while the machine is running
39// This will (obviously) make shutdown slower
40Unattended-Upgrade::InstallOnShutdown "true";
41
42// Send email to this address for problems or packages upgrades
43// If empty or unset then no email is sent, make sure that you
44// have a working mail setup on your system. A package that provides
45// 'mailx' must be installed. E.g. "user@example.com"
46//Unattended-Upgrade::Mail "root";
47
48// Set this value to "true" to get emails only on errors. Default
49// is to always send a mail if Unattended-Upgrade::Mail is set
50//Unattended-Upgrade::MailOnlyOnError "true";
51
52// Do automatic removal of new unused dependencies after the upgrade
53// (equivalent to apt-get autoremove)
54Unattended-Upgrade::Remove-Unused-Dependencies "true";
55
56// Automatically reboot *WITHOUT CONFIRMATION*
57//  if the file /var/run/reboot-required is found after the upgrade
58Unattended-Upgrade::Automatic-Reboot "false";
59
60// If automatic reboot is enabled and needed, reboot at the specific
61// time instead of immediately
62//  Default: "now"
63//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
64
65// Use apt bandwidth limit feature, this example limits the download
66// speed to 70kb/sec
67//Acquire::http::Dl-Limit "70";
Note: See TracBrowser for help on using the repository browser.