summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades
blob: f996348d3a0bbecb90d720337aa361c3823d40eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Unattended-Upgrade::Origins-Pattern controls which packages are
// upgraded.
Unattended-Upgrade::Origins-Pattern {
      "origin=Ubuntu,archive=${distro_codename}-security";
      "o=Ubuntu,a=${distro_codename}";
      "o=Ubuntu,a=${distro_codename}-updates";
      "o=Ubuntu,a=${distro_codename}-proposed-updates";
      "o=Ubuntu,n=${distro_codename}-backports";
  };

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
};


// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
Unattended-Upgrade::MinimalSteps "true";


// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";


// Do upgrade application even if it requires restart after upgrade
// I.e. "XB-Upgrade-Requires: app-restart" is set in the debian/control file
Unattended-Upgrade::IgnoreAppsRequireRestart "true";

// Automatically run "dpkg --force-confold --configure -a".
Unattended-Upgrade::AutoFixInterruptedDpkg "true";