Re: Broken ftp; can't purge proftpd
Kent West wrote:
>
> I don't know how long it's been, 'cause I seldom ftp into my box,
> but recently I noticed that I can't ftp in anymore.
>
> I suspect there's some sort of conflict between ftpd and proftpd,
> so I've tried to "dpkg --purge proftpd" (and "apt-get remove
> proftpd") but this results in:
>
> (Reading database ... 36800 files and directories currently
> installed.)
> Removing proftpd ...
> proftpd: no process killed
> dpkg: error processing proftpd (--purge):
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> proftpd
>
> I've tried to "apt-get install proftpd" (and dselect to install
> it), but I get:
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, proftpd is already the newest version
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not
> upgraded.
>
> How do I get rid or reinstall proftp and get my ftp (inbound)
> working again?
>
> Thanks!
I'm sure there's a better way, but I figured out a work around.
Apparently the purge/removal process was looking for a running
proftpd daemon and since proftpd appears to be broken (no man
pages even!) the purge/removal process was erroring out. So I
made a copy of nedit (an editor for X) and renamed it to
"proftpd", then fired it up with the new name. Then I tried
purging proftpd and voila! Success!
Then I was able to reinstall proftp and now I'm getting
somewhere.
Somehow or 'nother I've lost my ftp client in all of this, and
neither apt-get nor dselect knows of just plain ftp. They know of
cftp and lftp, etc. What do I need to install in order to get a
plain ftp client reinstalled?
Reply to: