0

How to automatically answer dialogs (written with ncurses) during installation in Ubuntu? For example during postfix installation.

zvoice
  • 183
  • 3
  • 9

1 Answers1

0

Those dialogs are a part of debconf which is a configuration tool for Debian packages. It has many front-ends, ncurses is one of them.

You can use dpkg-reconfigure -f noninteractive, use debconf's Bash library, reconfigure debconf itself to be always non-interactive, etc.

And there's also a package called debconf-utils:

This package contains some small utilities to aid users and developers. There are utilities to help manage debconf databases, others to manage translated template files and a program to communicate directly with debconf from the command line.

Rudolf Adamkovič
  • 31,030
  • 13
  • 103
  • 118