Re: Help w/dpkg (no /etc/init.d file)
On 13-May-99 Brian Servis wrote:
> *- On 13 May, shaleh@clifford.livenet.net wrote about "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.
>>
>
> or, if you ask nicely for the specific files I am sure people will be
> more than happy to email them to you. After all they are only small
> text files.
>
Ah, that would have been much better. I solved it the "really ugly way", but I
like your solution better.
Thanks,
Steve
----------------------------------
E-Mail: Steve Gore <sgore@ev1.net>
Date: 13-May-99
Time: 15:58:43
----------------------------------
Reply to: