you're right, it is a dup of bug 901180.
I cannot reproduce the crash but  'sudo apt-get remove vsftpd' return like the 
bug:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  vsftpd
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 463 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 212726 files and directories currently installed.)
Removing vsftpd ...
vsftpd stop/waiting
dpkg: error processing vsftpd (--remove):
 subprocess installed post-removal script returned error exit status 1
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
 vsftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


$ sh -x /var/lib/dpkg/info/vsftpd.postrm remove
+ set -e
+ _USERNAME=ftp
+ _GROUPNAME=ftp
+ _DIRECTORY=/srv/ftp
+ [ -x /usr/sbin/deluser ]
+ deluser --quiet --system ftp
/usr/sbin/deluser: Only root may remove a user or group from the system.


$ sudo sh -x /var/lib/dpkg/info/vsftpd.postrm remove
+ set -e
+ _USERNAME=ftp
+ _GROUPNAME=ftp
+ _DIRECTORY=/srv/ftp
+ [ -x /usr/sbin/deluser ]
+ deluser --quiet --system ftp


** Changed in: vsftpd (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/903743

Title:
  package vsftpd 2.3.2-3ubuntu4.1 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/vsftpd/+bug/903743/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to