Some debconf questions
Hi,
I read again through debconf's manpages, but couldn't find answers to my
questions. You can prepend a "Where can I find documenation about" to
every question, if you like:
- If a debconf question is manipulated by db_set, does that affect its
"seen" flag? And if it does, does it take effect immediately (i.e.,
also for a following db_inut ...), or only in the next run of the
config file?
- If I set a debconf question's seen flag to "false" with db_fset, it
will still be set to "true" again if the question is then asked to the
user - no need to revert manually? I would be very surprised if this
wasn't so, but someone else was in doubt.
- What do I have to do to set up a test environment? I have created a
~/.debconfrc and defined my testing database there, I have copied part
of the main database to it (as root), using debconf-copydb. However,
the templates file hasn't been copied, and I get an error message:
alhambra:~# debconf-copydb configdb frankdb --pattern='^tetex' \
--config=Name:frankdb --config=Driver:File \
--config=Filename:/home/frank/.debconf/config.dat
alhambra:~# chown frank:frank /home/frank/.debconf/config.dat
frank@alhambra:~$ egrep -v '^#|^$' .debconfrc | head -7
Config: frankdb
Templates: frankdb
Name: config
Driver: File
Mode: 644
Reject-Type: password
Filename: ~/.debconf/config.dat
frank@alhambra:~$ debconf-show tetex-base
debconf: DbDriver "config": could not open ~/.debconf/config.dat
frank@alhambra:~$
I didn't find the manpages very helpful, is there some other
documentation?
Thanks, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: