View Single Post
Staro 07.06.2013., 23:17   #12
karabaja
The Zappa
 
karabaja's Avatar
 
Datum registracije: Jan 2006
Lokacija: Zagreb
Postovi: 592
Redom naokon apt-get remove proftpd:

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'proftpd-basic' instead of 'proftpd'
The following packages will be REMOVED:
  proftpd-basic
0 upgraded, 0 newly installed, 1 to remove and 30 not upgraded.
1 not fully installed or removed.
After this operation, 4170 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 56142 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 installed pre-removal script returned error exit status 100
configured to not write apport reports
                                      Errors were encountered while processing:
proftpd-basic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Zatim sam probao apt-get update i apt-get upgrade

Nakon toga ponovo denistalaciju:

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'proftpd-basic' instead of 'proftpd'
The following packages will be REMOVED:
  proftpd-basic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 4170 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 56142 files and directories currently installed.)
Removing proftpd-basic ...
: not found/proftpd: 2:
: not found/proftpd: 7:
: not found/proftpd: 9:
/etc/init.d/proftpd: 19: Syntax error: word unexpected (expecting "in")
invoke-rc.d: initscript proftpd, action "stop" failed.
dpkg: error processing proftpd-basic (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
                                      insserv: warning: script 'K01proftpd' missing LSB tags and overrides
insserv: warning: script 'proftpd' missing LSB tags and overrides
Cannot start proftpd, please check syntax of your configuration file /etc/proftpd/proftpd.conf
Errors were encountered while processing:
proftpd-basic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Niti yum remove proftpd , yum install proftpd nije pomoglo.

Napokon sam se odlučio pronaći obrisane datoteke na webu. Iz trećeg pokušaja pronašao sam adekvatne s kojima se ostatak konfiguracije nije 'svađao'. Nakon toga /etc/init.d/proftpd restart i voila! Radi.

P.S. Naširoko sam opisao čisto ako netko jednom bude googlao isti problem i greške.
karabaja je offline   Reply With Quote