Help using db_register
Hello,
This message is related to
http://lists.debian.org/debian-mentors/2011/02/msg00279.html (Pre-seed
a bunch of packages from a debian package). (Excuse the obvious
mistakes in grammar and spelling :) )
I finally thought of using db_register because using db_set as is from
the "parent" package gave a XXX/YYY does not exist error message.
I found http://comments.gmane.org/gmane.linux.debian.devel.mentors/22127,
which roughly explains how to use this command.
But when i try (for example)
db_register deepofix-apache2-config deepofix-apache2-config/apache2-enabled
I get -- RET='10 No such template, "deepofix-apache2-config" --
also, when i try
db_register deepofix-apache2-config/apache2-enabled
I get -- RET='20 Incorrect number of arguments' --
I want to do the shell equivalent of
(
echo "deepofix-apache2-config
deepofix-apache2-config/apache2_enabled boolean true"
) | debconf-set-selections
from the script of a debian package.
Regards,
Harish Badri Nath
Reply to: