[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with debconf in postinst



On Sat, Mar 24, 2007 at 12:03:03PM +0100, Jan Hauke Rahm wrote:
> Steve Langasek wrote:
> > FWIW, you're likely to get better feedback if you help make it easier for
> > people to see the problem you're having.  What is the debconf error that you
> > get?  What is the postinst code that's failing?  (I've downloaded your
> > diff.gz at this point, but I don't see any obvious errors in it...)

> Well, of course I will :)

> Debconf fails with something like "error 10 - no question found" (I had
> a german error message, so I don't know exactly what's the english error
> message).

> The code is quite simple like "db_get avelsieve/runconfig", templates
> are created and there's a config file (with db_set, db_input ...), too.
> The script seems to work (./postinst) but it doesn't when I try to
> install the package.

> It's a bit strange, I guess :) ask me more to find the problem or just
> have another look at it... In german I would say something like: I don't
> see the forest because of all the trees *gg

Could it be the fact that you don't have dh_installdebconf in your
debian/rules, possibly preventing the config and templates files from being
included in the package?

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: