Re: Debconf is not executed during installation, but with dpkg-reconfigure
On Sat, Mar 09, 2002 at 06:39:45PM +0100, Stefan Hornburg (Racke) wrote:
>
> Hello,
>
> I need some help with debconf. I tried to write debconf stuff in Perl
> for the dhelp package. The Perl stuff works with a private package,
> so I doubt the problem is with the Perl stuff.
>
> I set DEBCONF_DEBUG to developer and there is no hint that debconf
> is triggered during dpkg -i dhelp.deb, but debconf is triggered
> when I ran dpkg-reconfigure afterwards.
>
> Has anyone a hint for me what can be wrong ?
Does your postinst call any debhelper functions? The only way it gets
run during dpkg -i is by postinst loading the Debconf module, and then
Debconf triggering the .config.
Ben
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux -- WatchGuard.com \
` bcollins@debian.org -- Ben.Collins@watchguard.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: