Preparing to unpack .../python3-uno_1%3a5.1.6~rc2-0ubuntu1~xenial6_amd64.deb ... Unpacking python3-uno (1:5.1.6~rc2-0ubuntu1~xenial6) over (1:5.1.6~rc2-0ubuntu1~xenial4) ... Preparing to unpack .../python3-distupgrade_1%3a16.04.26_all.deb ... Unpacking python3-distupgrade (1:16.04.26) over (1:16.04.25) ... Preparing to unpack .../python3-update-manager_1%3a16.04.15_all.deb ... Unpacking python3-update-manager (1:16.04.15) over (1:16.04.12) ... Preparing to unpack .../update-manager_1%3a16.04.15_all.deb ... Unpacking update-manager (1:16.04.15) over (1:16.04.12) ... Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu4.1) ... No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key. Processing triggers for man-db (2.7.5-1) ... Processing triggers for gconf2 (3.2.6-3ubuntu6) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for mime-support (3.59ubuntu1) ... Setting up python3.5-minimal (3.5.2-2ubuntu0~16.04.5) ... Setting up libavahi-common3:amd64 (0.6.32~rc+dfsg-1ubuntu2.3) ... Setting up libavahi-client3:amd64 (0.6.32~rc+dfsg-1ubuntu2.3) ... Setting up libkrb5-3:amd64 (1.13.2+dfsg-5ubuntu2.1) ... Setting up libgssapi-krb5-2:amd64 (1.13.2+dfsg-5ubuntu2.1) ... Setting up libcups2:amd64 (2.1.3-4ubuntu0.7) ... Setting up libcupsmime1:amd64 (2.1.3-4ubuntu0.7) ... Setting up cups-daemon (2.1.3-4ubuntu0.7) ... Setting up gettext-base (0.19.7-2ubuntu3.1) ... Setting up grub-common (2.02~beta2-36ubuntu3.20) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Setting up grub2-common (2.02~beta2-36ubuntu3.20) ... Setting up grub-pc-bin (2.02~beta2-36ubuntu3.20) ... Setting up grub-pc (2.02~beta2-36ubuntu3.20) ... Installing for i386-pc platform. Installation finished. No error reported. Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.15.0-36-generic Found initrd image: /boot/initrd.img-4.15.0-36-generic Found linux image: /boot/vmlinuz-4.15.0-34-generic Found initrd image: /boot/initrd.img-4.15.0-34-generic Found linux image: /boot/vmlinuz-4.10.0-28-generic Found initrd image: /boot/initrd.img-4.10.0-28-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Found Windows 10 (loader) on /dev/sdb1 done Setting up python3.5 (3.5.2-2ubuntu0~16.04.5) ... Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.5) ... Setting up libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.12) ... Setting up libperl5.22:amd64 (5.22.1-9ubuntu0.6) ... Setting up perl (5.22.1-9ubuntu0.6) ... Setting up openssh-client (1:7.2p2-4ubuntu2.7) ... Setting up snapd (2.34.2ubuntu0.1) ... snapd.snap-repair.service is a disabled or a static unit, not starting it. Setting up ubuntu-core-launcher (2.34.2ubuntu0.1) ... Setting up python-apt (1.1.0~beta1ubuntu0.16.04.2) ... /var/lib/dpkg/info/python-apt.postinst: 6: /var/lib/dpkg/info/python-apt.postinst: pycompile: not found dpkg: error processing package python-apt (--configure): subprocess installed post-installation script returned error exit status 127 Setting up libpolkit-backend-1-0:amd64 (0.105-14.1ubuntu0.4) ... Setting up policykit-1 (0.105-14.1ubuntu0.4) ... Setting up libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.4) ... Setting up samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.18) ... Setting up libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.18) ... Setting up python-dbus (1.2.0-3) ... Remove stale byte-compiled files... /var/lib/dpkg/info/python-dbus.postinst: 22: /var/lib/dpkg/info/python-dbus.postinst: pycompile: not found dpkg: error processing package python-dbus (--configure): subprocess installed post-installation script returned error exit status 127 Setting up python-dirspec (13.10-1ubuntu1) ... /var/lib/dpkg/info/python-dirspec.postinst: 6: /var/lib/dpkg/info/python-dirspec.postinst: pycompile: not found dpkg: error processing package python-dirspec (--configure): subprocess installed post-installation script returned error exit status 127 Setting up python-httplib2 (0.9.1+dfsg-1) ... /var/lib/dpkg/info/python-httplib2.postinst: 6: /var/lib/dpkg/info/python-httplib2.postinst: pycompile: not found dpkg: error processing package python-httplib2 (--configure): subprocess installed post-installation script returned error exit status 127 Setting up python-blinker (1.3.dfsg2-1build1) ... /var/lib/dpkg/info/python-blinker.postinst: 6: /var/lib/dpkg/info/python-blinker.postinst: pycompile: not found dpkg: error processing package python-blinker (--configure): subprocess installed post-installation script returned error exit status 127 Setting up python-enum34 (1.1.2-1) ...