[Bug 936340] Re: dpkg-maintscript-helper does not show complete debug output
Maarten Bezemer
maarten.bezemer at gmail.com
Sun Feb 19 17:23:57 UTC 2012
Fixed the problem and tried to find all other occurrences as well.
I do not know whether this fix is important enough to ask for a
FeatureFreezeException? Although, it probably won't break anything and
is easy to check!
** Patch added: "ubuntu_changes.debdiff"
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/936340/+attachment/2758654/+files/ubuntu_changes.debdiff
** Tags added: patch
** Changed in: dpkg (Ubuntu)
Status: In Progress => New
** Changed in: dpkg (Ubuntu)
Assignee: Maarten Bezemer (veger) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/936340
Title:
dpkg-maintscript-helper does not show complete debug output
Status in “dpkg” package in Ubuntu:
New
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 Ubuntu-sponsors
mailing list