Debconf

From DWIKI
Revision as of 18:57, 29 January 2015 by Tony (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The actual config data

/var/cache/debconf/config.dat

The location of relevant files per package

/var/lib/dpkg/info

Finding packages that should work for dpkg-reconfigure:

find /var/lib/dpkg/info -name \*.postinst | xargs grep -l debconf| sed 's/^.*\/\(.*\)/\1/g;s/.postinst//g'


FAQ

delete values from database

When testing your config file you will find that after 1 try it no longer shows dialog, fix this by setting priority to critical and clean database. It does not seem possible to directly edit config.dat, but:

echo PURGE | debconf-communicate <packagename>