[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Keep config?





just an easy question: How can I force to keep or overwrite a configuration
during an upgrade? As I do not want it set fixed, I am searching for a
solution by setting a command.

There are options for dpkg: --force-{confdef,confold,confnew} etc.
See ``dpkg(1)``.

Here are some examples:
$ apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade

https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/





 

Reply to: