Allora stamattina sono in ato e per sbaglio ho cancellato proftpd fa /etc/init.d (lo so sono un pirla) allora ho provato a reintallarlo , ma mi da un errore ho provato anche a rimuoverlo ma nada ...
se faccio :
# apt-get remove proftpd
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
proftpd proftpd-common
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1110kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 67579 files and directories currently installed.)
Removing proftpd ...
invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
dpkg: error processing proftpd (--remove):
subprocess pre-removal script returned error exit status 100
dpkg: proftpd-common: dependency problems, but removing anyway as you request:
proftpd depends on proftpd-common (= 1.2.9-16).
Removing proftpd-common ...
Errors were encountered while processing:
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------------------------------------------
allora provo a forzarlo :
dpkg -i --force-all /var/cache/apt/archives/proftpd_1.2.9-16_i386.deb
Selecting previously deselected package proftpd.
(Reading database ... 67559 files and directories currently installed.)
Preparing to replace proftpd 1.2.9-16 (using .../proftpd_1.2.9-16_i386.deb) ...
invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
dpkg: warning - old pre-removal script returned error exit status 100
dpkg - trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
dpkg: error processing /var/cache/apt/archives/proftpd_1.2.9-16_i386.deb (--install):
subprocess new pre-removal script returned error exit status 100
Errors were encountered while processing:
/var/cache/apt/archives/proftpd_1.2.9-16_i386.deb
--------------------------------------------------------------------------------------------------------------
giustamente non trova più proftpd in /etc/init.d , ma non sò come risolvere il problema ,
se qualcuno mi può aiutare please !