I'm getting a very weird error when installing pure-ftpd on my Ubuntu 12.04.04 LTS server.
I'm running this command, with a sudo user.
sudo apt-get install pure-ftpd
and I get this error
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up pure-ftpd (1.0.35-1) ...
Starting ftp server: File/Basename.pm did not return a true value at /usr/sbin/pure-ftpd-wrapper line 23.
BEGIN failed--compilation aborted at /usr/sbin/pure-ftpd-wrapper line 23.
invoke-rc.d: initscript pure-ftpd, action "start" failed.
dpkg: error processing pure-ftpd (--configure):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
pure-ftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
and then it just aborts the installation. I've installed pure-ftpd on my other machine just fine this way.