Package: greylistd
Version: 0.8.8.3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
(in 'wheezy'), remove (but not purge), distupgrade to 'jessie',
and install again.
Before the second installation the package is in config-files-remaining
state. The configuration is remaining from the last version that was
successfully configured - which is from the previous release.

Like a plain failure on initial install this makes the package too buggy
for a release, thus the severity.

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

  Selecting previously unselected package greylistd.
  Unpacking greylistd (from .../greylistd_0.8.8_all.deb) ...

  Setting up greylistd (0.8.8) ...
  Adding system user `greylist' (UID 100) ...
  Adding new group `greylist' (GID 150) ...
  Adding new user `greylist' (UID 100) with group `greylist' ...
  Not creating home directory `/var/lib/greylistd'.
  Creating directory /var/run/greylistd: Done.
  Copying /usr/share/doc/greylistd/examples/whitelist-hosts to /etc/greylistd:  
Done.
  invoke-rc.d: policy-rc.d denied execution of start.

  Removing greylistd ...
  invoke-rc.d: policy-rc.d denied execution of stop.

  Selecting previously unselected package greylistd.
  (Reading database ... 8369 files and directories currently installed.)
  Preparing to unpack .../greylistd_0.8.8.3_all.deb ...
  Unpacking greylistd (0.8.8.3) ...
  Setting up greylistd (0.8.8.3) ...
  insserv: script greylistd: service greylist already provided!
  insserv: exiting now!
  update-rc.d: error: insserv rejected the script header
  dpkg: error processing package greylistd (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   greylistd

The fix should be rather simple: the preinst script actions but be
performed on both "install" and "upgrade" (install will get a second
argument if the conffiles from an old version were remaining):

[...]
case "$1" in
    install|upgrade)
[...]


cheers,

Andreas

Attachment: greylistd_0.8.8.3.log.gz
Description: application/gzip

Reply via email to