Preparing to unpack .../grub-efi-amd64-signed_1.66.6+2.02~beta2-36ubuntu3.6_amd64.deb ... Unpacking grub-efi-amd64-signed (1.66.6+2.02~beta2-36ubuntu3.6) over (1.66.2+2.02~beta2-36ubuntu3.2) ... Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.6_amd64.deb ... Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ... Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.6_amd64.deb ... Unpacking grub2-common (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ... Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.6_amd64.deb ... Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ... Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.6_amd64.deb ... Unpacking grub-common (2.02~beta2-36ubuntu3.6) over (2.02~beta2-36ubuntu3.2) ... Preparing to unpack .../apport_2.20.1-0ubuntu2.4_all.deb ... File "/usr/bin/pyclean", line 63 except (IOError, OSError), e: ^ SyntaxError: invalid syntax dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... File "/usr/bin/pyclean", line 63 except (IOError, OSError), e: ^ SyntaxError: invalid syntax dpkg: error processing archive /var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Preparing to unpack .../python-cryptography_1.2.3-1ubuntu0.1_amd64.deb ... File "/usr/bin/pyclean", line 63 except (IOError, OSError), e: ^ SyntaxError: invalid syntax dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... File "/usr/bin/pyclean", line 63 except (IOError, OSError), e: ^ SyntaxError: invalid syntax dpkg: error processing archive /var/cache/apt/archives/python-cryptography_1.2.3-1ubuntu0.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1