Re: Err. releted the wrong file in init.d
I ended up doing:
dpkg -i --force-confmiss /var/cache/apt/archives/apache_*.deb
that worked :)
Tarjei
Faheem Mitha wrote:
>
> In linux.debian.user, you wrote:
> > Hi,
> >
> > I just managed to delete my apache file in /etc/init.d.
> >
> > What is the easyest way to get it back?
> >
> > If I try dpkg-reconfigure or apt-get install I just get missing
> > /etc/init.d/apache apache not fully installed.
>
> Can't you do a remove (apt-get remove) followed by a reinstall
> (apt-get install))? This should preserve your config files. If apt
> does not work, dpkg should still work (dpkg -r will retain config
> files). Then you can follow this by a apt-get install.
>
> Faheem.
Reply to: