I have this same issue. I installed tftp-hpa and then removed it, using Synaptic Package Manger in Mint 9.0. I then find now I can't install any other programmes and Update Manager won't proceed because of this error:
E: tftpd-hpa: subprocess installed post-removal script returned error exit status 127 Details shows: (Reading database ... 174866 files and directories currently installed.) Removing tftpd-hpa ... /etc/default/tftpd-hpa: 8: -s: not found dpkg: error processing tftpd-hpa (--remove): subprocess installed post-removal script returned error exit status 127 Processing triggers for ureadahead ... Errors were encountered while processing: tftpd-hpa E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: I have tried many different suggestions such as running apt-get clea, remove, upgrade install -f, dist-upgrade. Also reinstalling, installing an old version, newer version etc. Nothing works and I can't update my ststem any longer or install new programmes. What other information can I provide that will help get this resolved as soon as possible? I see above that you want the output of /etc/default/tftp-hpa. I presume I just run this in terminal. Here are my results: /etc/default/tftpd-hpa bash: /etc/default/tftpd-hpa: Permission denied bad...@xxxx ~ $ sudo /etc/default/tftpd-hpa [sudo] password for badcam: sudo: /etc/default/tftpd-hpa: command not found bad...@xxxx ~ $ I hope this helps. -- package tftpd-hpa 0.49-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127 https://bugs.launchpad.net/bugs/591481 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tftp-hpa in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs