Preparing to unpack .../python-minimal_2.7.17-1_amd64.deb ... Unpacking python-minimal (2.7.17-1) over (2.7.17-1) ... Selecting previously unselected package python-lockfile. Preparing to unpack .../python-lockfile_1%3a0.12.2-2ubuntu1_all.deb ... Unpacking python-lockfile (1:0.12.2-2ubuntu1) ... Setting up python2.7 (2.7.17-1~19.10) ... /var/lib/dpkg/info/python2.7.postinst: 9: /usr/bin/python2.7: not found dpkg: error processing package python2.7 (--configure): installed python2.7 package post-installation script subprocess returned error exit status 127 Setting up python-lockfile (1:0.12.2-2ubuntu1) ... /var/lib/dpkg/info/python-lockfile.postinst: 6: pycompile: not found dpkg: error processing package python-lockfile (--configure): installed python-lockfile package post-installation script subprocess returned error exit status 127