E: proftpd-basic: subprocess pre-removal script returned error exit status 100

Bug #314725 reported by paulalten
56
This bug affects 6 people
Affects Status Importance Assigned to Milestone
proftpd-dfsg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have tried to remove proftpd through Synaptic (Complete removal). Along with proftpd-basic, other associated packages + gadmin-proftpd and gproftpd were also selected for complete removal. Though other packages got un-installed, proftpd-basic thrown following error.

-----------------------------------------------------------------------------------------------------------
Error message:
E: proftpd-basic: subprocess pre-removal script returned error exit status 100

Error details:
(Reading database ... 107841 files and directories currently installed.)
Removing proftpd-basic ...
invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
dpkg: error processing proftpd-basic (--remove):
 subprocess pre-removal script returned error exit status 100
Errors were encountered while processing:
 proftpd-basic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
-----------------------------------------------------------------------------------------------------------

Attempted to re-install, but that also failed.

Thanks

Revision history for this message
paulalten (paulalten453) wrote :

2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

Revision history for this message
paulalten (paulalten453) wrote :

I have tried installing wu-ftpd, but that also failed showing the same [above] error.

The issue is fixed using the following work-around
1=>created one dummy file proftpd in /etc/init.d/
2=>From synaptic, tried installation of wu-ftpd.

During this process, the failed proftpd entry got cleaned up from Synaptic, and wu-ftpd got installed successfully

Hopefully a test [filename] modification can be made to the clean-up script to avoid break, if file is missing.

thanks

Revision history for this message
Grey08 (edward-chia83) wrote :

Hi Paulaten,

How do u make a dummy file in /etc/init.d/ ??

Revision history for this message
Andrei C. (psicho) wrote :

@Grey08 : Just use this : sudo pico /etc/init.d/proftpd , then CTRL+O then CTRL+X and then apt-get autoremove and it will work!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in proftpd-dfsg (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.