I am using Ubuntu Server 11.10 (GNU/Linux 3.0.0-12-server x86_64) and it is working for me.
$sudo debconf-get-selections --installer > file.preseed
$
However when I try it on a desktop version:
$ sudo debconf-get-selections --installer > file.preseed
debconf: DbDriver "di_questions": could not open /var/log/installer/cdebconf/questions.dat
I am using Ubuntu Server 11.10 (GNU/Linux 3.0.0-12-server x86_64) and it is working for me. get-selections --installer > file.preseed
$sudo debconf-
$
However when I try it on a desktop version: get-selections --installer > file.preseed installer/ cdebconf/ questions. dat
$ sudo debconf-
debconf: DbDriver "di_questions": could not open /var/log/