[Bug 936340] [NEW] dpkg-maintscript-helper does not show complete debug output

Launchpad Bug Tracker 936340 at bugs.launchpad.net
Sun Feb 19 17:26:18 UTC 2012


You have been subscribed to a public bug by Maarten Bezemer (veger):

When looking at the rm_conffile() function in the dkpg-maintscript-
helper script, these lines can be found to show some debug output:

  debug "Executing $0 rm_conffile in $DPKG_MAINTSCRIPT_NAME "\
        "of $DPKG_MAINTSCRIPT_PACKAGE"
  debug "CONFFILE=$CONFFILE PACKAGE=$PACKAGE "\
        "LASTVERSION=$LASTVERSION ACTION=$1 PARAM=$2"

When I enable debug output I only get this information:

DEBUG: dpkg-maintscript-helper: Executing /usr/bin/dpkg-maintscript-helper rm_conffile in postinst
DEBUG: dpkg-maintscript-helper: CONFFILE=/etc/mc/Syntax PACKAGE=mc

The 2nd part of each debug output is not shown! (Resulting in my bad
understanding of the helper script which was not working) I could easily
fix it, by merging the 2 line into one for each debug output. Resulting
in:

DEBUG: dpkg-maintscript-helper: Executing /usr/bin/dpkg-maintscript-helper rm_conffile in postinst of mc
DEBUG: dpkg-maintscript-helper: CONFFILE=/etc/mc/Syntax PACKAGE=mc LASTVERSION=4.7.4 ACTION=configure PARAM=3:4.7.0.9-2

$ apt-cache policy dpkg
dpkg:
  Installed: 1.16.1.2ubuntu5
  Candidate: 1.16.1.2ubuntu5
  Version table:
 *** 1.16.1.2ubuntu5 0
         90 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
     1.16.0.3ubuntu5 0
        500 http://nl.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

** Affects: dpkg (Ubuntu)
     Importance: Undecided
     Assignee: Maarten Bezemer (veger)
         Status: In Progress


** Tags: patch
-- 
dpkg-maintscript-helper does not show complete debug output
https://bugs.launchpad.net/bugs/936340
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list