[Pkg-dspam-misc] Bug#626102: bugs in dspam.postinst

Andreas Henriksson andreas at fatal.se
Sun May 8 19:18:46 UTC 2011


Package: dspam
Version: 3.9.1~rc1+git20110419.29261fb+dfsg-1
Severity: serious
Tags: patch
Justification: fails to upgrade

=================================================================
Errors were encountered while processing:
 dspam
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up dspam (3.9.1~rc1+git20110419.29261fb+dfsg-1) ...
dpkg-statoverride: error: An override for 'dir' already exists, aborting.
dpkg: error processing dspam (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 dspam

=================================================================

Seems like a missing $ in front of the dir variable used in dspam.postinst.
See attached patch.....


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dspam depends on:
ii  lib 2.13-2                               Embedded GNU C Library: Shared lib
ii  lib 3.9.1~rc1+git20110419.29261fb+dfsg-1 Core message processing and classi
ii  lsb 3.2-27                               Linux Standard Base 3.2 init scrip
ii  per 5.10.1-20                            Larry Wall's Practical Extraction 
ii  pro 3.22-19                              Versatile e-mail processor

Versions of packages dspam recommends:
ii  dsp 3.9.1~rc1+git20110419.29261fb+dfsg-1 Documentation for DSPAM anti-spam 

Versions of packages dspam suggests:
pn  clamav-daemon                 <none>     (no description available)
pn  dspam-webfrontend             <none>     (no description available)

-- Configuration Files:
/etc/dspam/dspam.conf [Errno 13] Permission denied: u'/etc/dspam/dspam.conf'
/etc/dspam/dspam.d/extlookup.conf [Errno 13] Permission denied: u'/etc/dspam/dspam.d/extlookup.conf'
/etc/dspam/dspam.d/hash.conf [Errno 13] Permission denied: u'/etc/dspam/dspam.d/hash.conf'

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dspam-postinst-fix.diff
Type: text/x-diff
Size: 886 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20110508/94e86aff/attachment.diff>


More information about the Pkg-dspam-misc mailing list