diff --git a/templates/etc/apt/apt.conf.d/20dpkg.j2 b/templates/etc/apt/apt.conf.d/20dpkg.j2 index 1f2082c..a70b39f 100644 --- a/templates/etc/apt/apt.conf.d/20dpkg.j2 +++ b/templates/etc/apt/apt.conf.d/20dpkg.j2 @@ -9,4 +9,11 @@ Dpkg # let dpkg decide by itself when multiple choice "--force-confdef"; } + + Pre-Install-Pkgs + { + # pre-configure all packages with debconf before they are installed + "/usr/sbin/dpkg-preconfigure --apt || true"; + }; + };