Your message dated Wed, 18 May 2005 09:32:19 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#308069: fixed in jspwiki 2.0.52-11
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 7 May 2005 16:57:52 +0000
>From [EMAIL PROTECTED] Sat May 07 09:57:52 2005
Return-path: <[EMAIL PROTECTED]>
Received: from fw.cerisent.com (corp1.cerisent.com) [207.105.221.3]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DUSci-00008O-00; Sat, 07 May 2005 09:57:52 -0700
Received: from [127.0.0.1] (corp1.cerisent.com [172.16.1.20])
by corp1.cerisent.com (8.12.10/8.12.9/1.4J) with ESMTP id j47Gvod8023803
for <[EMAIL PROTECTED]>; Sat, 7 May 2005 09:57:51 -0700
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Michael Blakeley <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: jspwiki: post-install script returns error exit status 1
X-Mailer: reportbug 3.8
Date: Sat, 07 May 2005 09:57:50 -0700
X-Debbugs-Cc: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: jspwiki
Version: 2.0.52-10
Severity: normal
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Michael Blakeley <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: jspwiki: post-install script returns error exit status 1
X-Mailer: reportbug 3.8
Date: Sat, 07 May 2005 09:44:13 -0700
X-Debbugs-Cc: [EMAIL PROTECTED]
Package: jspwiki
Version: 2.0.52-10
Severity: normal
During normal upgrade of jspwiki (wajig daily-upgrade, calling dpkg
--configure jspwiki):
Setting up jspwiki (2.0.52-10) ...
dpkg: error processing jspwiki (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
jspwiki
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm not sure how to debug this further. Here's what I've tried:
$ sudo dpkg --debug=2 --configure jspwiki
Setting up jspwiki (2.0.52-10) ...
D000002: fork/exec /var/lib/dpkg/info/jspwiki.postinst ( )
dpkg: error processing jspwiki (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
jspwiki
$ sudo bash -x /var/lib/dpkg/info/jspwiki.postinst
+ set -e
+ cd /var/lib/jspwiki
+ [[ ! -f default/Main.txt ]]
+ head -1 /etc/jspwiki/jspwiki.properties
+ grep -q 'This file is managed by Debconf'
So I think my jspwiki.properties fails that grep test... which ought not
to be a fatal error, right?
Looking at that code:
head -1 /etc/jspwiki/jspwiki.properties | grep -q "This file is managed by Debco
nf"
if [[ $? != 0 ]];
then
exit 0
fi
It seems to be fine: it's testing the return code and doing the right thing.
BUT... the whole script executes with -e, so the grep failure will exit the
whole script with a non-zero code.
Quick hack:
==========================================================
$ diff -wu /var/lib/dpkg/info/jspwiki.postinst.orig
/var/lib/dpkg/info/jspwiki.postinst
--- /var/lib/dpkg/info/jspwiki.postinst.orig 2005-05-07 09:41:28.766075184
-0700
+++ /var/lib/dpkg/info/jspwiki.postinst 2005-05-07 09:42:35.646907752 -0700
@@ -9,11 +9,9 @@
chown -R tomcat4 default
fi
-head -1 /etc/jspwiki/jspwiki.properties | grep -q "This file is managed by
Debconf"
-if [[ $? != 0 ]];
-then
- exit 0
-fi
+set +e
+head -1 /etc/jspwiki/jspwiki.properties | grep -q "This file is managed by
Debconf" || exit 0
+set -e
. /usr/share/debconf/confmodule
==========================================================
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages jspwiki depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii tomcat4 4.1.31-3 Java Servlet 2.3 engine with JSP 1
-- debconf information:
jspwiki/rss/channellanguage: en-us
jspwiki/baseurl:
jspwiki/applicationname: JSPWiki
jspwiki/matchenglishplurals: false
jspwiki/breaktitlewithspaces: false
jspwiki/rss/refresh: 3600
jspwiki/purgewikifiles: false
jspwiki/usepagecache: false
jspwiki/rss/generate: false
jspwiki/camelcaselinks: false
jspwiki/encoding: UTF-8
jspwiki/attachments/provider: BasicAttachmentProvider
jspwiki/rss/channeldescription:
jspwiki/pageprovider: FileSystemProvider
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages jspwiki depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii tomcat4 4.1.31-3 Java Servlet 2.3 engine with JSP 1
-- debconf information excluded
---------------------------------------
Received: (at 308069-close) by bugs.debian.org; 18 May 2005 13:42:30 +0000
>From [EMAIL PROTECTED] Wed May 18 06:42:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DYOog-00021y-00; Wed, 18 May 2005 06:42:30 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DYOep-0002x2-00; Wed, 18 May 2005 09:32:19 -0400
From: Kalle Kivimaa <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#308069: fixed in jspwiki 2.0.52-11
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 18 May 2005 09:32:19 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: jspwiki
Source-Version: 2.0.52-11
We believe that the bug you reported is fixed in the latest version of
jspwiki, which is due to be installed in the Debian FTP archive:
jspwiki_2.0.52-11.dsc
to pool/contrib/j/jspwiki/jspwiki_2.0.52-11.dsc
jspwiki_2.0.52-11.tar.gz
to pool/contrib/j/jspwiki/jspwiki_2.0.52-11.tar.gz
jspwiki_2.0.52-11_all.deb
to pool/contrib/j/jspwiki/jspwiki_2.0.52-11_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kalle Kivimaa <[EMAIL PROTECTED]> (supplier of updated jspwiki package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 08 May 2005 22:00:00 +0300
Source: jspwiki
Binary: jspwiki
Architecture: source all
Version: 2.0.52-11
Distribution: unstable
Urgency: high
Maintainer: Kalle Kivimaa <[EMAIL PROTECTED]>
Changed-By: Kalle Kivimaa <[EMAIL PROTECTED]>
Description:
jspwiki - WikiWikiWeb clone written in Java
Closes: 308069
Changes:
jspwiki (2.0.52-11) unstable; urgency=high
.
* Fixed the postinst script to handle the case of non-debconfed
configuration file (Closes: #308069) courtesy of Michael Blakeley
Files:
79817662b6fd82658e6451edc18a428e 578 contrib/web optional jspwiki_2.0.52-11.dsc
bb04fef705bd113b69fe6c588f44dd91 680009 contrib/web optional
jspwiki_2.0.52-11.tar.gz
5a67609b40c3ccc0fbba58f9079d2312 618084 contrib/web optional
jspwiki_2.0.52-11_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCi0D2kuYKi19tgBURApO0AKCxW/KSFZ8aYOxCpeCqCQc32b1pEQCfQZNS
+548Ypn1psh8xRA2qKEfxhw=
=zuws
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]