Re: Help w/dpkg (no /etc/init.d file)
>
> While configuring my /etc/ppp/ip-up.d scripts, I (stupidly) removed the
> /etc/init.d entries for a couple of packages (instead of just
> update-rc.d [-n] [-f] name remove). Now, dpkg can't remove, install,
> configure, purge, or even force any operation on those packages.
>
> Is there any way to fix this?
>
no --force-* option for installing worked?
If not try this:
touch the file needed in /etc/init.d. When the install script asks you to
replace it, say yes.
or the really ugly way, grab each deb that you messed up, unpack it in a temp
directory with ar x foo.deb, and grab the init.d script from the package by
hand.
Reply to: