I\'m trying to create a script that automatically downloads packages for new servers. However, some things like \'mysql-server\' can not installed automatically cause you ne
Answer from ossramblings.com:
First, install your package normally; then, extract the configuration answers from the debconf data files:
sudo apt-get install debconf-utils
sudo debconf-get-selections | grep mypackage > something.seed
Then, for other installations, you can apply it before installing the package:
sudo debconf-set-selections ./something.seed