Jak obnovit smazany startovaci skript ?


To czdebian-l zavinac debian bod cz
From "Roman Beitl" <beitlr zavinac gw bod krasno bod cz>
Date Tue, 11 Sep 2007 13:28:42 +0200
User-agent Opera Mail/9.23 (Win32)

Dobry den,
podarilo se mi prijit o startovaci skript od balicku openswan: /etc/init.d/ipsec

Zkousel jsem obnovu timto zpusobem s nasledujici chybou:

----------------------------------------------------
pluto:/etc# aptitude reinstall openswan

Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REINSTALLED:
  openswan
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up openswan (2.2.0-8) ...
update-rc.d: /etc/init.d/ipsec: file does not exist
dpkg: error processing openswan (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 openswan
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up openswan (2.2.0-8) ...
update-rc.d: /etc/init.d/ipsec: file does not exist
dpkg: error processing openswan (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 openswan
--------------------------------------------------------

Jedine reseni, ktere bych ale nechtel moc pouzit je zaloha configuracnich souboru a nasledny uninstall/install balicku openswan.

Nabizi se tedy jeste nejake reseni jak tento chybejici soubor obnovit aniz bych balicek musel odinstalovavat?

--
Roman Beitl

Partial thread listing: