Package: apache2 Version: 2.4.4-5 Severity: normal Tags: patch apache2-maintscript-helper should use stderr instead of stdout, as messages written on stdout are not shown when debconf is enabled, see the following snippnet of debconf(7) man page:
THE POSTINST SCRIPT * Avoid outputting anything to stdout in your postinst, since that can confuse debconf, and postinst should not be verbose anyway. Output to stderr is ok, if you must. Regards, robert -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable'), (200, 'testing') Architecture: i386 (i686) Kernel: Linux 3.8-1-686-pae (SMP w/1 CPU core) Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/dash Versions of packages apache2 depends on: ii apache2-bin 2.4.4-5 ii apache2-data 2.4.4-5 ii lsb-base 4.1+Debian12 ii mime-support 3.54 ii perl 5.14.2-21 ii procps 1:3.3.8-2 Versions of packages apache2 recommends: ii ssl-cert 1.0.32 Versions of packages apache2 suggests: ii apache2-doc 2.4.4-5 pn apache2-suexec-pristine | apache2-suexec-custom <none> ii apache2-utils 2.4.4-5 ii chromium [www-browser] 27.0.1453.110-1 ii elinks [www-browser] 0.12~pre6-1 ii konqueror [www-browser] 4:4.8.4-2 ii links [www-browser] 2.7-2 ii links2 [www-browser] 2.7-2 ii lynx-cur [www-browser] 2.8.8dev.15-2 ii netrik [www-browser] 1.16.1-1.1 ii w3m [www-browser] 0.5.3-8 Versions of packages apache2-bin depends on: ii libapr1 1.4.6-4 ii libaprutil1 1.5.2-1 ii libaprutil1-dbd-mysql 1.5.2-1 ii libaprutil1-dbd-pgsql 1.5.2-1 ii libaprutil1-ldap 1.5.2-1 ii libc6 2.17-5 ii libcap2 1:2.22-1.2 ii libldap-2.4-2 2.4.31-1+nmu2 ii liblua5.1-0 5.1.5-4 ii libpcre3 1:8.31-2 ii libssl1.0.0 1.0.1e-3 ii libxml2 2.8.0+dfsg1-7+nmu1 ii perl 5.14.2-21 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages apache2-bin suggests: ii apache2-doc 2.4.4-5 pn apache2-suexec-pristine | apache2-suexec-custom <none> ii chromium [www-browser] 27.0.1453.110-1 ii elinks [www-browser] 0.12~pre6-1 ii konqueror [www-browser] 4:4.8.4-2 ii links [www-browser] 2.7-2 ii links2 [www-browser] 2.7-2 ii lynx-cur [www-browser] 2.8.8dev.15-2 ii netrik [www-browser] 1.16.1-1.1 ii w3m [www-browser] 0.5.3-8 Versions of packages apache2 is related to: ii apache2 2.4.4-5 ii apache2-bin 2.4.4-5 -- Configuration Files: /etc/apache2/apache2.conf changed [not included] /etc/apache2/mods-available/info.conf changed [not included] /etc/apache2/mods-available/mpm_prefork.conf changed [not included] /etc/apache2/mods-available/ssl.conf changed [not included] /etc/apache2/ports.conf changed [not included] /etc/apache2/sites-available/000-default.conf changed [not included] /etc/logrotate.d/apache2 changed [not included] -- no debconf information -- debsums errors found: debsums: changed file /usr/share/apache2/apache2-maintscript-helper (from apache2 package)
--- apache2-maintscript-helper.old 2013-06-07 08:19:16.000000000 +0200 +++ apache2-maintscript-helper 2013-06-07 08:23:01.000000000 +0200 @@ -71,7 +71,7 @@ if [ -z "$1" ] ; then - echo "You must invoke apache2-maintscript-helper with an unmodified environment when sourcing it" + echo "You must invoke apache2-maintscript-helper with an unmodified environment when sourcing it" >&2 return 1 fi @@ -81,7 +81,7 @@ # yay - recognized script ;; *) - echo "Invoked from an unrecognized maintainer script: exiting" + echo "apache2-maintscript-helper invoked from an unrecognized maintainer script: exiting" >&2 return 1 ;; esac @@ -126,7 +126,7 @@ { local PRIORITY="$1" local MSG="$2" - [ -z "$APACHE2_MAINTSCRIPT_HELPER_QUIET" ] && echo "$MSG" + [ -z "$APACHE2_MAINTSCRIPT_HELPER_QUIET" ] && echo "$MSG" >&2 [ -x /usr/bin/logger ] || return 0 case "$PRIORITY" in debug|info|notice|warning|err|crit|alert|emerg)