Closed smortex closed 2 years ago
I also think that we should explicitly add -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
to the command line (they are set on my systems in /etc/apt/apt.conf.d
but we can't really count on that).
Though?
Hi @smortex, the PR looks good and I'm planning to merge it, regarding your second comment, this should be solved by the "--force-yes" option
Hi @daianamezdrea. I just discussed the topic with a friend: --force-yes
seems to be deprecated: it is not documented in recent versions of dpkg(1). He confirmed --force-confdef
and --force-confold
are the way to go:
Hello @smortex, I did a research also and I think you're right
Thank you for this PR and your contributions !
When upgrading Debian packages, the system sometimes what to prompt the user about what action to perform. Since a tasks is supposed to be non-interactive, we should disable such prompts.
This help when updating some packages, e.g. postfix.