1

Hey there, I'm currently having problems installing proftpd correctly.

At some point the pakage was already installed but when I try to install don't get a selection screen to preconfigure the server neither are any config files created.

I already tried to purge/reinstall/install/remove/clean/autoclean via apt-get but nothing seems to fix the problem.

Is there a way to force a "clean/fresh" install?

Flatlin3
  • 193
  • 9

3 Answers3

5

Alright I fixed it. The config files where bound to another package (proftpd-basic).

So using the following commands fixed the problems:

apt-get purge proftp*
apt-get install proftpd
Flatlin3
  • 193
  • 9
  • 1
    Note that you can use `apt-get purge` in place of `apt-get remove --purge`. That's unless you are using a very old version of APT (older than mid-2007). – tshepang May 10 '11 at 15:31
  • @Tshepang urghs I probably should look at the date of the posts I read more often - thanks :) – Flatlin3 May 10 '11 at 18:45
  • How is it that the simple solutions always go un-noticed? I was just beating my head against the desk trying to remove samba. Thanks for the tip. – Mr. Shickadance Oct 26 '11 at 14:43
3

Purge and install should work, so you may have some more severe underlying problem.

You may also try:

dpkg-reconfigure proftpd

and see what results you get.

Karol J. Piczak
  • 2,348
  • 1
  • 20
  • 22
1

To reinstall:

apt-get install --reinstall proftpd

If this does not work, uninstall, remove all its configuration, and install again:

apt-get remove --purge proftpd
rm -rf /etc/proftpd
apt-get install proftpd
whiskybar
  • 11
  • 1