Log started: 2017-06-29 13:23:40 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 320280 files and directories currently installed.) Removing aisleriot (1:3.10.2-1) ... Removing apt-xapian-index (0.45ubuntu4) ... /var/lib/dpkg/info/apt-xapian-index.prerm: 6: /var/lib/dpkg/info/apt-xapian-index.prerm: pyclean: not found dpkg: error processing package apt-xapian-index (--remove): subprocess installed pre-removal script returned error exit status 127 /var/lib/dpkg/info/apt-xapian-index.postinst: 6: /var/lib/dpkg/info/apt-xapian-index.postinst: pycompile: not found dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 127 Removing nautilus-share (0.7.3-1ubuntu5) ... Removing apturl (0.5.2ubuntu4) ... Removing ubuntu-desktop (1.325) ... Removing checkbox-gui (0.17.6-0ubuntu6) ... Removing unity (7.2.6+14.04.20160408-0ubuntu1) ... Removing compiz (1:0.9.11.3+14.04.20160425-0ubuntu1) ... Removing compiz-gnome (1:0.9.11.3+14.04.20160425-0ubuntu1) ... Removing cython (0.20.1+git90-g0e6e38e-1ubuntu2) ... /var/lib/dpkg/info/cython.prerm: 6: /var/lib/dpkg/info/cython.prerm: pyclean: not found dpkg: error processing package cython (--remove): subprocess installed pre-removal script returned error exit status 127