HomeSoftware Heritage

(main) Do not prompt on configuration file update

Description

(main) Do not prompt on configuration file update

When updating configuration file, apt by default prompt the user for the
action to perform. Since we are running in a non-interactive context,
skip these prompts:

  • --force-confdef ensure the configuration file is replaced by a newer version in the package if the previous package default configuration file was not modified;
  • --force-confold keep the configuration file as it is if it has been modified compared to the one shipped in the previous version of the package.

Details

Provenance
Romain Tartière <romain@blogreen.org>Authored on Sep 6 2021, 11:31 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
rSPAPT97f697047dbd: (maint) Set DEBIAN_FRONTEND=noninteractive on upgrade
Branches
Unknown
Tags
Unknown

Event Timeline

Romain Tartière <romain@blogreen.org> committed rSPAPT287daf99788f: (main) Do not prompt on configuration file update (authored by Romain Tartière <romain@blogreen.org>).Sep 6 2021, 11:59 PM