Essentially, I'm using this answer to have a non-interactive experience with application such as dpkg
, apt
and other ones that may depend on the former.
problem though is, is there any conflict between those two flags, when used together?
I'm asking because, as i understand it:
apt-get -o Dpkg::Options::="--force-confdef"
Use the default setting (depending on package, i believe some either replace old config, and some leave the old one, unless I'm mistaken)
and
apt-get -o Dpkg::Options::="--force-confnew"
Keep the new config instead...
So I'm a bit confused as to why certain sources mention two of these flags, even though they may or may not conflict with each other (tried them but don't know any packages that would launch debconf
unless i run dist-upgrade
and wait for the right package to do that).
Do i just need a single one of those instead or both?