[Bug 773429] Re: apport_pkgfailure function of DistUpgradeApport.py should include current dmesg
Brian Murray
brian at ubuntu.com
Fri Jun 10 23:01:43 UTC 2011
I actually included this in the generic update-manager apport package
hook so it'll appear in all update-manager bug reports instead of just
distribution upgrades.
'''apport package hook for update-manager
(c) 2011 Canonical Ltd.
Author: Brian Murray <brian at ubuntu.com>
'''
from apport.hookutils import *
def add_info(report):
# collect gconf settings for update-manager
report['GconfUpdateManager'] = command_output(['gconftool-2', '-R',
'/apps/update-manager'])
# grab the non-default values too as it is easier to compare with both the
# settings and the non-default values
attach_gconf(report, 'update-manager')
attach_file_if_exists(report, '/var/log/apt/history.log',
'DpkgHistoryLog.txt')
attach_root_command_outputs(report,
{'DpkgTerminalLog.txt': 'cat /var/log/apt/term.log',
'CurrentDmesg.txt': 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'})
** Changed in: update-manager (Ubuntu Oneiric)
Status: Triaged => Fix Released
** Changed in: update-manager (Ubuntu Oneiric)
Assignee: (unassigned) => Brian Murray (brian-murray)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/773429
Title:
apport_pkgfailure function of DistUpgradeApport.py should include
current dmesg
Status in “update-manager” package in Ubuntu:
Fix Released
Status in “update-manager” source package in Oneiric:
Fix Released
Bug description:
Binary package hint: update-manager
It'd be useful to include a current version of dmesg with apport
package failures during distribution upgrades to help determine if the
reporter is experiencing hardware failure. See bug 773137 and its
VarLogDistUpgradeMainlog.gz which contains the following:
2011-04-29 05:51:51,011 ERROR got an error from dpkg for pkg: '/var/cache/apt/archives/xulrunner-1.9.2_1.9.2.17+build3+nobinonly- 0ubuntu1_amd64.deb': 'short read on buffer copy for backend dpkg-deb during `./usr/lib/xulrunner-1.9.2.17/components/ libdbusservice.so''
2011-04-29 05:51:51,011 DEBUG running apport_pkgfailure() xulrunner-1.9.2: short read on buffer copy for backend dpkg-deb during `./usr/lib/xulrunner-1.9.2.17/components/libdbusservice.so'
2011-04-29 05:51:51,029 ERROR got an error from dpkg for pkg: '/var/cache/apt/archives/xulrunner-1.9.2_1.9.2.17+build3+nobinonly- 0ubuntu1_amd64.deb': 'short read on buffer copy for backend dpkg-deb during `./usr/lib/xulrunner-1.9.2.17/components/ libdbusservice.so''
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/773429/+subscriptions
More information about the foundations-bugs
mailing list