[Bug 936340] Re: dpkg-maintscript-helper does not show complete debug output
Launchpad Bug Tracker
936340 at bugs.launchpad.net
Tue Mar 20 11:14:23 UTC 2012
** Branch linked: lp:debian/dpkg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/936340
Title:
dpkg-maintscript-helper does not show complete debug output
Status in “dpkg” package in Ubuntu:
Fix Committed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/936340/+subscriptions
More information about the foundations-bugs
mailing list