[Bug 1010504] Re: package tftpd-hpa 5.2-1ubuntu1 failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
Bjarne Hansen
bhansen at svfreya.ca
Fri Jun 15 06:22:15 UTC 2012
*** This bug is a duplicate of bug 1010891 ***
https://bugs.launchpad.net/bugs/1010891
I don't believe it's an exact duplicate. I received the same error msg
described above. Ensuring the TFTP_DIRECTORY existed did not fix the
problem.
To diagnose it further, I examined file /var/lib/dpkg/info/tftpd-hpa.postrm On or about line 22 I deleted the --quiet so it now reads:
deluser --system ${TFTP_USERNAME}
Now when I try to remove the tftpd-hpa package, the error dump includes "The user `nobody' is not a system user. Exiting.
"
This suggests that the postrm script is erroneously trying to remove the
'nobody' user, which is what I had set TFTP_USERNAME to in the tftpd-hpa
config file.
I next commented out the "deluser ..." line. The package removal now
proceeds without errors.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa in Ubuntu.
https://bugs.launchpad.net/bugs/1010504
Title:
package tftpd-hpa 5.2-1ubuntu1 failed to install/upgrade: subprocess
installed post-removal script returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1010504/+subscriptions
More information about the Ubuntu-server-bugs
mailing list