Debian Bug report logs - #397785
lintian: Warn if a postinst script doesn't understand reconfigure

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Frank Küster <[email protected]>

Date: Thu, 9 Nov 2006 14:03:09 UTC

Severity: wishlist

Found in version 1.5.8

Fix blocked by 629247: lintian: Please use a decent shell script parser

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 9 Nov 2006 13:57:39 +0000
From [email protected] Thu Nov 09 05:57:39 2006
Return-path: <[email protected]>
Received: from idmailgate1.unizh.ch ([130.60.127.100])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1GiAPS-0007Zp-Jq
	for [email protected]; Thu, 09 Nov 2006 05:57:39 -0800
Received: from localhost (zilnx54.unizh.ch [130.60.127.86])
	by idmailgate1.unizh.ch (8.13.7/8.13.7/SuSE Linux 0.7) with ESMTP id kA9DvWKP019557
	for <[email protected]>; Thu, 9 Nov 2006 14:57:32 +0100
Received: from idmailgate1.unizh.ch ([130.60.127.100])
 by localhost (virus3.unizh.ch [130.60.127.86]) (amavisd-new, port 10024)
 with LMTP id 17801-02 for <[email protected]>;
 Thu,  9 Nov 2006 14:57:27 +0100 (CET)
Received: from localhost ([130.60.169.110])
	by idmailgate1.unizh.ch (8.13.7/8.13.7/SuSE Linux 0.7) with ESMTP id kA9DvRwl019458
	(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO)
	for <[email protected]>; Thu, 9 Nov 2006 14:57:27 +0100
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by localhost with esmtp (Exim 4.50)
	id 1GiAPI-0003NS-RQ
	for [email protected]; Thu, 09 Nov 2006 14:57:28 +0100
From: Frank Küster <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: [debconf] Should warn if postinst doesn't understand argument "reconfigure"
X-Debbugs-CC: Frank Küster <[email protected]>, Debconf
 Developers <[email protected]>
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
Date: Thu, 09 Nov 2006 14:57:28 +0100
Message-ID: <[email protected]>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: amavisd-new at unizh.ch
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-Level: 
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
Package: lintian
Version: 1.5.8
Severity: wishlist

From debconf-devel(7):

,----
| the right thing would be to pass $1 = "reconfigure", but doing so
| without breaking all the postinsts that use debconf is difficult.  The
| migration plan away from this hack is to encourage people to write
| postinsts that accept "reconfigure", and once they all do, begin
| passing that variable.
`----

To aid in that goal, it would be nice if lintian complained if
reconfigure is not accepted.

Regards, Frank

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.17-2-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages debconf depends on:
ii  debconf-i18n               1.4.30.13     full internationalization support 
ii  perl-base                  5.8.4-8sarge5 The Pathologically Eclectic Rubbis

-- debconf information:
* debconf/priority: medium
* debconf/frontend: Kde

-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:19:32 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.