[Bug 656415] Re: package vsftpd 2.2.2-3ubuntu7.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 3

Thierry Carrez thierry.carrez at ubuntu.com
Wed Oct 13 10:28:15 BST 2010


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
Server Team, which is subscribed to vsftpd in ubuntu.



More information about the Ubuntu-server-bugs mailing list