Comment 2 for bug 677764

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: package vsftpd (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Thanks for reporting this bug and helping to make ubuntu
better. This is interesting - it looks as though the install
script thought that you already had a user and group named
ftp. I suspect you have a group which starts with 'ftp'. Can
you please provide the output of

 getent group | grep "^ftp"

To work around this, you should be able to simply create the
ftp user and group that it wanted to create. Then re-install
the package.

However, this is a real bug in the postinst script which will
need to be fixed. The '| grep "^${_USERNAME}"' must be
switched to "| grep "^${_USERNAME}:".