Bug#793859: routino-www: fails to purge: You must invoke apache2-maintscript-helper with an unmodified environment when sourcing it

Andreas Beckmann anbe at debian.org
Tue Jul 28 09:14:39 UTC 2015


Package: routino-www
Version: 2.7.3-2
Severity: serious
User: debian-qa at 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.
But in this test all dependencies were still installed while the package
was purged, therefore filing as serious.
(It does not fail if the dependencies are already gone.)

>From the attached log (scroll to the bottom...):

0m50.1s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpG5gdoQ', 'dpkg', '--purge', 'routino-www']
0m50.2s DUMP: 
  (Reading database ... 9880 files and directories currently installed.)
  Removing routino-www (2.7.3-2) ...
  Purging configuration files for routino-www (2.7.3-2) ...
  + set -e
  + [  = developer ]
  + [ purge = purge ]
  + apache_uninstall
  + dpkg-query -f ${Status} -W apache2.2-common
  + awk {print $3}
  + COMMON_STATE=not-installed
  + [ -e /usr/share/apache2/apache2-maintscript-helper ]
  + . /usr/share/apache2/apache2-maintscript-helper
  + [ -n  ]
  + EXPORT_APACHE2_MAINTSCRIPT_HELPER=1
  + [ -n  ]
  + [ -e /etc/apache2/envvars ]
  + . /etc/apache2/envvars
  + unset HOME
  + [  !=  ]
  + SUFFIX=
  + export APACHE_RUN_USER=www-data
  + export APACHE_RUN_GROUP=www-data
  + export APACHE_PID_FILE=/var/run/apache2/apache2.pid
  + export APACHE_RUN_DIR=/var/run/apache2
  + export APACHE_LOCK_DIR=/var/lock/apache2
  + export APACHE_LOG_DIR=/var/log/apache2
  + export LANG=C
  + export LANG
  + echo
  + APACHE2_MAINTSCRIPT_DEBUG=
  + [ -n  ]
  + APACHE2_MAINTSCRIPT_DEFER=
  + grep -q installed
  + dpkg-query -f ${Status} -W apache2
  + [ -z  ]
  + echo You must invoke apache2-maintscript-helper with an unmodified environment when sourcing it
  You must invoke apache2-maintscript-helper with an unmodified environment when sourcing it
  + return 1
  dpkg: error processing package routino-www (--purge):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   routino-www
0m50.2s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/tmp/piupartss/tmpG5gdoQ', 'dpkg', '--purge', 'routino-www']


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: routino-www_2.7.3-2.log.gz
Type: application/gzip
Size: 13264 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20150728/4a00139d/attachment.bin>


More information about the Pkg-grass-devel mailing list