답변:
를 설정 DEBIAN_FRONTEND합니다 noninteractive:
DEBIAN_FRONTEND=noninteractive apt-get ...
이것은 또한에 적용 dpkg --reconfigure, dpkg-configure등
보낸 사람 man 7 debconf:
noninteractive
This is the anti-frontend. It never interacts with you at all,
and makes the default answers be used for all questions. It
might mail error messages to root, but that's it; otherwise it
is completely silent and unobtrusive, a perfect frontend for
automatic installs. If you are using this front-end, and require
non-default answers to questions, you will need to preseed the
debconf database; see the section below on Unattended Package
Installation for more details.
설정 한 noninteractive경우을 debconf사용하여 질문에 대답하는 것을 고려해야 debconf-set-selections합니다.
man 7 debconfubuntu 16.04 에서 사용 하려면 먼저 설치해야합니다debconf-doc. 예 :sudo apt-get install debconf-doc