Re: debconf problems
Joey Hess <email@example.com> wrote:
> pp wrote:
> > I have some problems with debconf:
> > "Can't call method "clearall" on an undefined value at /usr/share/perl5/Debconf/Template.pm line 150, <GEN0> chunk 1."
> > Any idea? I can not build package cause of this error.
> I'd need a copy of your debconf database and a log of you reproducing
> the problem with DEBCONF_DEBUG=. set and exported, and would need to
> know what version of debconf you have, to debug this.
Just to be clear:
That error message shows while installing package.
I want to know more at the same time:
I tried install that package on anoter machine, The first installation was smooth
and clear. The next one ends with error.
I tried to run postinst script with 'debconf -s postinst' and this works excellent.
Installed with dpkg (set -x) returns (30) "question skipped". This happens
even if I unregister or reset the only one question, and even if the answer
is false or true. And even if package was purged after installation.
(if I understood manual correctly 'dh_installdebconf' in rules should unregister all
templates from debconf database)