Debconf: Difference between revisions
From DWIKI
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
*http://wiki.debian.org/DebConf | *http://wiki.debian.org/DebConf | ||
*[http://www.debian.org/doc/packaging-manuals/debconf_specification.html Configuration management] | *[http://www.debian.org/doc/packaging-manuals/debconf_specification.html Configuration management] | ||
The actual config data | The actual config data | ||
/var/cache/debconf/config.dat | /var/cache/debconf/config.dat | ||
Line 11: | Line 13: | ||
find /var/lib/dpkg/info -name \*.postinst | xargs grep -l debconf| sed 's/^.*\/\(.*\)/\1/g;s/.postinst//g' | 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> |
Latest revision as of 18:57, 29 January 2015
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>