Package: vsftpd Version: 3.0.2-2 Severity: important Dear Maintainer,
If vsftpd was previously configured as listen=NO in /etc/vsftpd.conf, upgrades will fail to install, because the init script returns an exit status of 1 with the above configuration. Consequently, the postinst script fails. I have attached an output log to demonstrate what happens. As a workaround, to force the installation, I have modified the init script to return an exit status of 0. However, if there's a good reason for the script to return a non-zero value, perhaps dh_installinit would require an --error-handler parameter for successful installation in the above case. Carlos -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (990, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-rt-amd64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages vsftpd depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.49 ii libc6 2.13-38 ii libcap2 1:2.22-1.2 ii libpam-modules 1.1.3-7.1 ii libpam0g 1.1.3-7.1 ii libssl1.0.0 1.0.1c-4 ii libwrap0 7.6.q-24 ii netbase 5.0 Versions of packages vsftpd recommends: ii logrotate 3.8.3-3 vsftpd suggests no packages. -- Configuration Files: /etc/vsftpd.conf changed: listen=NO anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/private/vsftpd.pem -- debconf information: vsftpd/username: ftp vsftpd/directory: /srv/ftp
carlos@carlitos:~$ sudo apt-get --reinstall install vsftpd Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libavutil52 libsox-fmt-ffmpeg Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 15 not upgraded. Need to get 0 B/147 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 527970 files and directories currently installed.) Preparing to replace vsftpd 3.0.2-2 (using .../vsftpd_3.0.2-2_amd64.deb) ... Stopping FTP server: No /usr/sbin/vsftpd found running; none killed. vsftpd. Unpacking replacement vsftpd ... Processing triggers for man-db ... Setting up vsftpd (3.0.2-2) ... vsftpd user (ftp) already exists, doing nothing. vsftpd directory (/srv/ftp) already exists, doing nothing. /etc/vsftpd.conf listen disabled - service will not start invoke-rc.d: initscript vsftpd, action "start" failed. dpkg: error processing vsftpd (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: vsftpd E: Sub-process /usr/bin/dpkg returned an error code (1)