[clug] Debconf or dpkg problem

Craig Small csmall at enc.com.au
Wed Jun 27 22:40:13 GMT 2007

On Wed, Jun 27, 2007 at 01:19:30PM +1000, Mike Carden wrote:
> Here's hoping the collected CLUG brains trust can shine some light on
> debconf for me. Can someone point me to a nice explanation of how
> debconf works and how it's related to dpkg please? So far, man pages
> and Google haven't lifted the veil from my eyes.
dpkg is an installer, treat debconf as a bunch of scripts in the package
that can ask questions.

> is incomplete. Often so incomplete that there's no way that the
> package could work.
Then that is a bug, it should give a complete working setup, although it
may not work for your situation because you have some non-default

> My reading so far seems to indicate that there is something called
> Priority that's somehow associated either with debconf or with
> dpkg-reconfigure or maybe with both, and perhaps it's not set properly
> for the systems I use, but I can't figure out just what or where it
> is.
dpkg can set the priority, debconf uses the priority.  When you create
you debconf template, each question is given a priority when you install
the package it will only ask questions on the specified or higher

You set the priority you want with the debconf package, so to change it
dpkg-reconfigure debconf

> So any pointers to useful documentation on this will be greatly
> appreciated. Thanks.
apt-get install debconf-doc
man 7 debconf

 - Craig

Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

More information about the linux mailing list