Your message dated Mon, 9 May 2011 06:34:36 +0200
with message-id <20110509043436.gc14...@kirya.net>
and subject line Re: [Pkg-dspam-misc] Bug#626102: bugs in dspam.postinst
has caused the Debian Bug report #626102,
regarding bugs in dspam.postinst
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
626102: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626102
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
diff -urip dspam-3.9.1~rc1+git20110419.29261fb+dfsg.orig//debian/dspam.postinst dspam-3.9.1~rc1+git20110419.29261fb+dfsg/debian/dspam.postinst
--- dspam-3.9.1~rc1+git20110419.29261fb+dfsg.orig//debian/dspam.postinst	2011-05-08 13:44:14.000000000 +0200
+++ dspam-3.9.1~rc1+git20110419.29261fb+dfsg/debian/dspam.postinst	2011-05-08 21:13:53.000000000 +0200
@@ -37,9 +37,9 @@ set_dspam_perms() {
     # Directories in /var/spool/dspam are made read-only as they contain private data
     DSPAM_HOME="/var/spool/dspam"
     for dir in $DSPAM_HOME $DSPAM_HOME/data $DSPAM_HOME/opt-in $DSPAM_HOME/opt-out ; do
-        if ! dpkg-statoverride --list dir >/dev/null
+        if ! dpkg-statoverride --list $dir >/dev/null
         then
-            dpkg-statoverride --update --add dspam dspam 0770 dir
+            dpkg-statoverride --update --add dspam dspam 0770 $dir
         fi
     done
 

--- End Message ---
--- Begin Message ---
Package: dspam
Version: 3.9.1~rc1+git20110419.29261fb+dfsg-2

Hi,

I had actually uploaded -2 shortly after -1 to fix this issue.
Thanks for your patch.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ <jul...@kirya.net> ~ <jul...@debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1


--- End Message ---

Reply via email to