Package: sympa
Version: 5.3.4-2
Severity: normal

Trying to upgrade on a system, I received the following error :

dpkg: error processing sympa (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 sympa
Press return to continue.

I added some debug in postinst by having set -x, and noticed it fails with :

+ db_get sympa/language
+ _db_cmd 'GET sympa/language'
+ IFS=' '
+ printf '%s\n' 'GET sympa/language'
+ IFS='
'
+ read -r _db_internal_line
+ RET='20 Unsupported command "adding" (full line was "Adding system user: 
sympa.") received from confmodule.'
+ case ${_db_internal_line%%[   ]*} in
+ return 20

This looks like the echo command is parsed by debconf...

A workaround is to apply the following patch... but that's weird :/

--- /var/lib/dpkg/info/sympa.postinst.orig      2008-03-24 20:07:03.000000000 
+0100
+++ /var/lib/dpkg/info/sympa.postinst   2008-03-24 20:07:12.000000000 +0100
@@ -2,7 +2,7 @@
 
 # creating sympa user if he isn't already there
 if ! id sympa >/dev/null 2>/dev/null ; then
-       echo "Adding system user: sympa."
+       #echo "Adding system user: sympa."
        adduser --system --group --gecos "Sympa mailing list manager" 
--no-create-home --home /var/lib/sympa sympa >/dev/null
 fi

Dunno if something changed in the way debconf interaction must be done, or 
echoing during postinst/configure is now forbidden ?

Hope this helps

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages sympa depends on:
ii  adduser                       3.106      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.20     Debian configuration management sy
ii  exim4-daemon-light [mail-tran 4.69-2     lightweight Exim MTA (v4) daemon
ii  libarchive-zip-perl           1.18-1     Module for manipulation of ZIP arc
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  libcgi-fast-perl              5.8.8-12   CGI::Fast Perl module
ii  libcrypt-ciphersaber-perl     0.61-4     Perl module implementing CipherSab
ii  libdbd-mysql-perl             4.006-1    A Perl5 database interface to the 
ii  libdbi-perl                   1.602-1    Perl5 database interface by Tim Bu
ii  libintl-perl                  1.16-4     Uniforum message translations syst
ii  libio-stringy-perl            2.110-3    Perl5 modules for IO from scalars 
ii  libmailtools-perl             2.02-1     Manipulate email in perl programs
ii  libmd5-perl                   2.03-1     backwards-compatible wrapper for D
ii  libmime-charset-perl          0.044-2    Charset Informations for MIME
ii  libmime-encwords-perl         0.040-3    deal with RFC-1522 encoded words
ii  libmime-perl                  5.425-2    transitional dummy package
ii  libmime-tools-perl [libmime-p 5.425-2    Perl5 modules for MIME-compliant m
ii  libmsgcat-perl                1.03-4     Locale::Msgcat perl module
ii  libnet-ldap-perl              1:0.34-1   A Client interface to LDAP servers
ii  libtemplate-perl              2.19-1     template processing system written
ii  libxml-libxml-perl            1.66-1     Perl module for using the GNOME li
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip
ii  mhonarc                       2.6.16-1   Mail to HTML converter
ii  perl [libmime-base64-perl]    5.8.8-12   Larry Wall's Practical Extraction 
ii  perl-suid                     5.8.8-12   Runs setuid Perl scripts
ii  syslog-ng [system-log-daemon] 2.0.8~1-1  Next generation logging daemon

Versions of packages sympa recommends:
ii  doc-base                      0.8.10     utilities to manage online documen
ii  logrotate                     3.7.1-3    Log rotation utility

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to