Robie,
Does this help?

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 0 not upgraded.
After this operation, 463 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 260652 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 ...
Errors were encountered while processing:
  vsftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


[1331][user@:~]$ 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.

[1331][user@:~]$ 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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in Ubuntu.
https://bugs.launchpad.net/bugs/901180

Title:
  cannot apt-get remove vsftp after installing it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/901180/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to