DTC-Xen Installation

DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos


DTC Howtos




Devel docs

Wiki - i18n

Wiki - Meta

Fixing PureFTP on Debian once it's been broken by installing DTC

A 'standard' deb-based install of DTC breaks pure ftp on Debian. This is a known bug OF THE PURE-FTPD PACKAGE (and not a problem of DTC), and following is how to fix it under Debian Etch. Note that a bug report has already been sent against the package in the Debian BTS.

First, make sure you have src repositories in your /etc/apt/sources.list (in general, the same as the normal repositories, but with deb-src not deb at the beginning of the line).

First, update your apt-get db and make a directory for the work, and cd into it:

apt-get update
mkdir pureftp
cd pureftp

Get the source for the package (downloaded to current directory) then cd into its directory, then the debian directory

apt-get source pure-ftpd
cd pure-ftpd-1.0.21/
cd debian

Edit the `rules` file, and add `--without-capabilities` to the end of the line full of other --xxxxxxx-xxx (replace `vim` with your favourite text editor).

vim rules

Build the dependencies:

apt-get build-dep pure-ftpd


wait some more

cd back to package directory:

cd ..

Build the ftp server




cd back to the directory you first got the source into, and install the appropriae deb file

cd ..
dpkg -i pure-ftpd-mysql_1.0.21-8_amd64.deb

note: if it still does not work, you may have to modify your /etc/inetd.conf . Especially if you had proftpd previously installed.

Editing this page means accepting its license.

Page last modified on October 05, 2008, at 02:23 PM EST