Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook symb['add_info'](report, ui) TypeError: add_info() takes 1 positional argument but 2 were given During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in _run_hook symb['add_info'](report) File "/usr/share/apport/package-hooks/source_libvirt.py", line 14, in add_info attach_conffiles(report, 'libvirt-bin') File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 135, in attach_conffiles if contents == '[deleted]' or contents.startswith('[inaccessible'): TypeError: startswith first arg must be bytes or a tuple of bytes, not str