Debian Bug report logs - #620150
dpkg-reconfigure breaks trigger invokation

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <[email protected]>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: Goswin von Brederlow <[email protected]>

Date: Wed, 30 Mar 2011 15:03:05 UTC

Severity: normal

Found in version debconf/1.5.28

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Debconf Developers <[email protected]>:
Bug#620150; Package debconf. (Wed, 30 Mar 2011 15:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Goswin von Brederlow <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Debconf Developers <[email protected]>. (Wed, 30 Mar 2011 15:03:08 GMT) (full text, mbox, link).


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

From: Goswin von Brederlow <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dpkg-reconfigure breaks trigger invokation
Date: Wed, 30 Mar 2011 16:39:52 +0200
Package: debconf
Version: 1.5.28
Severity: normal
File: /usr/sbin/dpkg-reconfigure

Hi,

I have a postinst script that calls dpkg-trigger. When I
dpkg-reconfigure that package I get the following error:

dpkg-trigger: dpkg-trigger must be called from a maintainer script (or with a --by-package option)

The problem is that dpkg-trigger expects that maintainer scripts will
be called by dpkg with DPKG_MAINTSCRIPT_PACKAGE being set. But
dpkg-reconfigure does not set this nor does it set
DPKG_MAINTSCRIPT_ARCH.

Please coordinate with the dpkg maintainers and policy about the right
way to call maintainer scripts. If you think you are right please
reassign to dpkg-trigger so it can document that --by-package is
mandatory.

MfG
        Goswin


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-book-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages debconf depends on:
ii  debconf-i18n                  1.5.28     full internationalization support 
ii  perl-base                     5.10.1-12  minimal Perl system

Versions of packages debconf recommends:
pn  apt-utils                     <none>     (no description available)

Versions of packages debconf suggests:
ii  debconf-doc               1.5.38         debconf documentation
ii  debconf-utils             1.5.28         debconf utilities
ii  dialog                    1.1-20080819-1 Displays user-friendly dialog boxe
ii  gnome-utils               2.28.1-1       GNOME desktop utilities
pn  libgnome2-perl            <none>         (no description available)
pn  libnet-ldap-perl          <none>         (no description available)
ii  libterm-readline-gnu-perl 1.19-2         Perl extension for the GNU Readlin
ii  perl                      5.10.1-12      Larry Wall's Practical Extraction 
ii  whiptail                  0.52.10-5+b1   Displays user-friendly dialog boxe

-- debconf information excluded




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 09:37:52 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.