Error is:
Setting up vsftpd (2.2.2-3ubuntu7.1) ...
vsftpd group (ftp) already exists, doing nothing.
vsftpd user (ftp) already exists, doing nothing.
gpasswd: user 'ftp' does not exist
dpkg: error processing vsftpd (--configure):
subprocess installed post-installation script returned error exit status 3
Looking at the code, it does:
if ! getent passwd | grep -q "^${_USERNAME}"
and then:
gpasswd -a ${_USERNAME} ${_USERNAME}
If there is another user defined starting with "ftp", then the getent |
grep would catch it, but gpasswd would fail.
What does the following command return on your system:
getent passwd | grep "^ftp"
** Changed in: vsftpd (Ubuntu)
Importance: Undecided => Medium
** Changed in: vsftpd (Ubuntu)
Status: New => Incomplete
--
package vsftpd 2.2.2-3ubuntu7.1 failed to install/upgrade: subprocess installed
post-installation script returned error exit status 3
https://bugs.launchpad.net/bugs/656415
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs