Package: vsftpd
Version: 2.2.2-3
Severity: normal
I installed vsftpd, and then realized i wanted to make sure that the
offered directory was on its own filesystem, so that uploads were
properly restrained.
So i made a new logical volume, and mounted it on /srv/ftp.
I subsequently decided i wanted to remove vsftpd, and got this error:
0 pip:~# aptitude remove vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
vsftpd
0 packages upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
Need to get 0B of archives. After unpacking 459kB will be freed.
Writing extended state information... Done
(Reading database ... 182569 files and directories currently installed.)
Removing vsftpd ...
Stopping FTP server: vsftpd.
rmdir: failed to remove `/srv/ftp'
dpkg: error processing vsftpd (--remove):
subprocess installed post-removal script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
vsftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
255 pip:~#
my workaround was:
umount /srv/ftp
aptitude remove vsftpd
mkdir /srv/ftp
mount /srv/ftp
but this seems like it should not have been necessary.
--dkg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vsftpd depends on:
ii adduser 3.112 add and remove users and groups
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcap2 1:2.17-2 support for getting/setting POSIX.
ii libpam-modules 1.1.1-2 Pluggable Authentication Modules f
ii libpam0g 1.1.1-2 Pluggable Authentication Modules l
ii libssl0.9.8 0.9.8m-2 SSL shared libraries
ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra
ii netbase 4.40 Basic TCP/IP networking system
Versions of packages vsftpd recommends:
ii logrotate 3.7.8-4 Log rotation utility
vsftpd suggests no packages.
-- debconf information:
vsftpd/username: ftp
vsftpd/directory: /srv/ftp
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]