:::: MENU ::::

Monthly Archives / July 2018

  • Jul 25 / 2018
  • 0
Linux

Automate apt update and keep current config files

When doing update on a Debian/Ubuntu server, if a package is trying to modify a config file, it’s asking for a manual choice. If you’re trying to try to automate the process, you’d probably like to get rid of that ask and keep the current config file by default.

For that, you can use that script:

The multiple options will enforce the update to keep current config and not overwrite it with the package default one.

Question ? Contact