Summary
It is possible to force non-interactive mode in apt-get system-wide by using reconfigure debconf and choosing noninteractive interface.
1
Additionally, environment variables can be used to quiet the configuration prompts, and apt-get install and upgrade commands can be used to overwrite configuration files.
2
According to
See more results on Neeva
Summaries from the best pages on the web
Summary
Debian's package management system is one of the most popular in Linux, and it contains a wide assortment of control files that tell the package manager about software dependencies, start and stop instructions for daemon control, versions, license, authors, and a digital signature. Users can configure the package by running dpkg-reconfigure package-name, quieting the configuration prompts, preserving configuration files, and using apt-get install and upgrade commands. Additionally, users can use environment variables to quiet the configuration prompts, and apt-get install and upgrade commands to overwrite configuration files.
Debian: debian_frontend=noninteractive
linuxhint.com