Setting up tftpd-hpa (0.43-1ubuntu1) ... /var/lib/dpkg/info/tftpd-hpa.postinst: 48: update-inetd: not found dpkg: error processing tftpd-hpa (--configure): subprocess post-installation script returned error exit status 127 Errors were encountered while processing: tftpd-hpa E: Sub-process /usr/bin/dpkg returned an error code (1) Solution: prepending "echo" to lines starting with "update-inetd" in /var/lib/dpkg/info/tftpd-hpa.postinst then running "dpkg --configure tftpd-hpa" solved the problem.