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_indicator-appmenu.py", line 4, in add_info if not apport.packaging.is_distro_package(report['Package'].split()[0]): NameError: global name 'apport' is not defined