Preparing to unpack .../apt-utils_1.0.1ubuntu2.15_amd64.deb ... Unpacking apt-utils (1.0.1ubuntu2.15) over (1.0.1ubuntu2.14) ... Preparing to unpack .../sudo_1.8.9p5-1ubuntu1.3_amd64.deb ... Unpacking sudo (1.8.9p5-1ubuntu1.3) over (1.8.9p5-1ubuntu1.2) ... Preparing to unpack .../apt-transport-https_1.0.1ubuntu2.15_amd64.deb ... Unpacking apt-transport-https (1.0.1ubuntu2.15) over (1.0.1ubuntu2.14) ... Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking bind9-host (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../dnsutils_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking dnsutils (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking libisc95 (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking libdns100 (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../libisccc90_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking libisccc90 (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking libisccfg90 (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking liblwres90 (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-3ubuntu0.10_amd64.deb ... Unpacking libbind9-90 (1:9.9.5.dfsg-3ubuntu0.10) over (1:9.9.5.dfsg-3ubuntu0.9) ... Preparing to unpack .../dbus_1.6.18-0ubuntu4.4_amd64.deb ... Unpacking dbus (1.6.18-0ubuntu4.4) over (1.6.18-0ubuntu4.3) ... Preparing to unpack .../python3-update-manager_1%3a0.196.22_all.deb ... Unpacking python3-update-manager (1:0.196.22) over (1:0.196.21) ... Preparing to unpack .../update-manager-core_1%3a0.196.22_all.deb ... Unpacking update-manager-core (1:0.196.22) over (1:0.196.21) ... Preparing to unpack .../update-manager_1%3a0.196.22_all.deb ... Unpacking update-manager (1:0.196.22) over (1:0.196.21) ... Preparing to unpack .../dbus-x11_1.6.18-0ubuntu4.4_amd64.deb ... Unpacking dbus-x11 (1.6.18-0ubuntu4.4) over (1.6.18-0ubuntu4.3) ... Preparing to unpack .../firefox_49.0.2+build2-0ubuntu0.14.04.1_amd64.deb ... Unpacking firefox (49.0.2+build2-0ubuntu0.14.04.1) over (49.0+build4-0ubuntu0.14.04.1) ... Preparing to unpack .../firefox-locale-en_49.0.2+build2-0ubuntu0.14.04.1_amd64.deb ... Unpacking firefox-locale-en (49.0.2+build2-0ubuntu0.14.04.1) over (49.0+build4-0ubuntu0.14.04.1) ... Preparing to unpack .../libjackrabbit-java_2.3.6-1+deb8u2build0.14.04.1_all.deb ... Unpacking libjackrabbit-java (2.3.6-1+deb8u2build0.14.04.1) over (2.3.6-1+deb8u1build0.14.04.1) ... Selecting previously unselected package linux-image-4.4.0-45-generic. Preparing to unpack .../linux-image-4.4.0-45-generic_4.4.0-45.66~14.04.1_amd64.deb ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Done. Unpacking linux-image-4.4.0-45-generic (4.4.0-45.66~14.04.1) ... Selecting previously unselected package linux-image-extra-4.4.0-45-generic. Preparing to unpack .../linux-image-extra-4.4.0-45-generic_4.4.0-45.66~14.04.1_amd64.deb ... Unpacking linux-image-extra-4.4.0-45-generic (4.4.0-45.66~14.04.1) ... Preparing to unpack .../linux-generic-lts-xenial_4.4.0.45.33_amd64.deb ... Unpacking linux-generic-lts-xenial (4.4.0.45.33) over (4.4.0.38.28) ... Preparing to unpack .../linux-image-generic-lts-xenial_4.4.0.45.33_amd64.deb ... Unpacking linux-image-generic-lts-xenial (4.4.0.45.33) over (4.4.0.38.28) ... Selecting previously unselected package linux-signed-image-4.4.0-45-generic. Preparing to unpack .../linux-signed-image-4.4.0-45-generic_4.4.0-45.66~14.04.1_amd64.deb ... Unpacking linux-signed-image-4.4.0-45-generic (4.4.0-45.66~14.04.1) ... Preparing to unpack .../linux-signed-generic-lts-xenial_4.4.0.45.33_amd64.deb ... Unpacking linux-signed-generic-lts-xenial (4.4.0.45.33) over (4.4.0.38.28) ... Preparing to unpack .../linux-signed-image-generic-lts-xenial_4.4.0.45.33_amd64.deb ... Unpacking linux-signed-image-generic-lts-xenial (4.4.0.45.33) over (4.4.0.38.28) ... Selecting previously unselected package linux-headers-4.4.0-45. Preparing to unpack .../linux-headers-4.4.0-45_4.4.0-45.66~14.04.1_all.deb ... Unpacking linux-headers-4.4.0-45 (4.4.0-45.66~14.04.1) ... Selecting previously unselected package linux-headers-4.4.0-45-generic. Preparing to unpack .../linux-headers-4.4.0-45-generic_4.4.0-45.66~14.04.1_amd64.deb ... Unpacking linux-headers-4.4.0-45-generic (4.4.0-45.66~14.04.1) ... Preparing to unpack .../linux-headers-generic-lts-xenial_4.4.0.45.33_amd64.deb ... Unpacking linux-headers-generic-lts-xenial (4.4.0.45.33) over (4.4.0.38.28) ... Preparing to unpack .../linux-libc-dev_3.13.0-100.147_amd64.deb ... Unpacking linux-libc-dev:amd64 (3.13.0-100.147) over (3.13.0-96.143) ... Preparing to unpack .../nginx-common_1.4.6-1ubuntu3.7_all.deb ... Unpacking nginx-common (1.4.6-1ubuntu3.7) over (1.4.6-1ubuntu3.5) ... Preparing to unpack .../nginx_1.4.6-1ubuntu3.7_all.deb ... Unpacking nginx (1.4.6-1ubuntu3.7) over (1.4.6-1ubuntu3.5) ... Preparing to unpack .../nginx-core_1.4.6-1ubuntu3.7_amd64.deb ... Unpacking nginx-core (1.4.6-1ubuntu3.7) over (1.4.6-1ubuntu3.5) ... Preparing to unpack .../python-pil_2.3.0-1ubuntu3.3_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-pil_2.3.0-1ubuntu3.3_amd64.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-imaging_2.3.0-1ubuntu3.3_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/python-imaging_2.3.0-1ubuntu3.3_all.deb (--unpack): subprocess new pre-removal script returned error exit status 1