Package: postgresql-9.4 Version: 9.4.24-0+deb8u1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package failed to purge. According to policy 7.2 you cannot rely on the depends being available during purge, only the essential packages are available for sure. >From the attached log (scroll to the bottom...): Removing postgresql-9.4 (9.4.24-0+deb8u1) ... Purging configuration files for postgresql-9.4 (9.4.24-0+deb8u1) ... + set -e + VERSION=9.4 + [ purge = purge ] + [ -d /etc/postgresql/9.4 ] + ls /etc/postgresql/9.4 + [ main ] + [ -e /usr/share/debconf/confmodule ] + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/postgresql-9.4.postrm purge + set -e + VERSION=9.4 + [ purge = purge ] + [ -d /etc/postgresql/9.4 ] + ls /etc/postgresql/9.4 + [ main ] + [ -e /usr/share/debconf/confmodule ] + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + [ ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + purge_package + [ -e /usr/share/debconf/confmodule ] + db_set postgresql-9.4/postrm_purge_data true + _db_cmd SET postgresql-9.4/postrm_purge_data true + _db_internal_IFS= + IFS= + printf %s\n SET postgresql-9.4/postrm_purge_data true + IFS= + IFS= read -r _db_internal_line + RET=10 postgresql-9.4/postrm_purge_data doesn't exist + return 10 dpkg: error processing package postgresql-9.4 (--purge): subprocess installed post-removal script returned error exit status 10 Errors were encountered while processing: postgresql-9.4 The template does not get registered because postinst does not load /usr/share/debconf/confmodule. In buster this is done by /usr/share/postgresql-common/maintscripts-functions but in jessie the postinst has to do it manually cheers, Andreas
postgresql-9.4_9.4.24-0+deb8u1.log.gz
Description: application/gzip