# view all manual selections for PACKAGE in $(debconf-show --listowners); do echo ${PACKAGE} debconf-show ${PACKAGE} | grep "*" done apt-get install debconf-utils # replace <TAB> with tabulator key for i in $(debconf-show ${PACKAGE} | grep "*" | cut -d" " -f2 | cut -d":" -f1); do debconf-get-selections | egrep "$i<TAB>"; done debconf-show ddclient | grep '*' apt-get install debconf-utils sudo debconf-set-selections # show installed packages debconf-show --listowners debconf-show mysql-server-5.0 | grep "*" | cut -d" " -f2 | cut -d":" -f1 # Links https://help.ubuntu.com/8.04/installation-guide/i386/preseed-contents.html http://wiki.hcoop.net/SetupNewMachines