Preparing to unpack .../python3-apport_2.14.1-0ubuntu3.21_all.deb ... Unpacking python3-apport (2.14.1-0ubuntu3.21) over (2.14.1-0ubuntu3.20) ... Selecting previously unselected package apport. Preparing to unpack .../apport_2.14.1-0ubuntu3.21_all.deb ... Traceback (most recent call last): File "/usr/bin/pyclean", line 25, in import optparse File "/usr/lib/python2.7/optparse.py", line 90, in from gettext import gettext File "/usr/lib/python2.7/gettext.py", line 49, in import locale, copy, os, re, struct, sys File "/usr/lib/python2.7/locale.py", line 19, in import functools File "build/bdist.linux-x86_64/egg/functools.py", line 72, in root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__ AttributeError: 'module' object has no attribute 'compose' dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Traceback (most recent call last): File "/usr/bin/pyclean", line 25, in import optparse File "/usr/lib/python2.7/optparse.py", line 90, in from gettext import gettext File "/usr/lib/python2.7/gettext.py", line 49, in import locale, copy, os, re, struct, sys File "/usr/lib/python2.7/locale.py", line 19, in import functools File "build/bdist.linux-x86_64/egg/functools.py", line 72, in root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__ AttributeError: 'module' object has no attribute 'compose' dpkg: error processing archive /var/cache/apt/archives/apport_2.14.1-0ubuntu3.21_all.deb (--unpack): subprocess new pre-removal script returned error exit status 1