[Debconf-devel] Bug#817083: debconf templates are not loaded in prerm
Ben Hutchings
ben at decadent.org.uk
Tue Mar 8 01:04:06 UTC 2016
Package: debconf
Version: 1.5.58
Severity: important
It appears that using debconf in a preinst or postinst script causes
debconf templates to be loaded automagically. However, since version
4.4.1-1~exp1 the linux-image-* packages only use debconf in the prerm
script. In the case where the script asks a question, debconf does
not find the template and the prerm script fails.
The manual page for debconf-loadtemplate says it should never be used
from maintainer scripts, so I don't see how we're supposed to make
this work.
Ben.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Debconf-devel
mailing list