/usr/share/apport/package-hooks/source_synaptic.py is in synaptic 0.84.3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | '''apport package hook for synaptic
(c) 2011 Canonical Ltd.
Author: Brian Murray <brian@ubuntu.com>
'''
from apport.hookutils import *
def add_info(report):
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 -'})
|