This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update unattended-upgrades config to avoid conffile prompts. (#781)
This commit updates the `50unattended-upgrades` configuration file that Streisand places in `/etc/apt/apt.conf.d` to add additional options for how to handle dpkg conffile conflicts. If a package (e.g. `tor`) has a security update and a change to a config file (e.g. `/etc/tor/torrc`) then the update will stall at a dpkg conffile prompt asking if the user wants to keep the modified Streisand config file or the new package one. We want to leave the Streisand configuration in place 100% of the time and have the new config file placed next to it with a `.dpkg-dist` suffix. To do so the `--force-confdef` and `--force-confold` dpkg options are used. More about these options and the dpkg conffile process can be found here: https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/
- Loading branch information