Help w/dpkg (no /etc/init.d file)

1999-05-13 Thread sgore
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?

Steve Gore


Re: Help w/dpkg (no /etc/init.d file)

1999-05-13 Thread shaleh
 
 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.


Re: Help w/dpkg (no /etc/init.d file)

1999-05-13 Thread Brian Servis
*- On 13 May, [EMAIL PROTECTED] 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.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


[SOLVED]Help w/dpkg (no /etc/init.d file)

1999-05-13 Thread Steve Gore

On 13-May-99 [EMAIL PROTECTED] wrote:
 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?
 
I thought my way out of this one.  Simply downloaded the debs into /tmp, and
copied the archived /etc/init.d files into my /etc/init.d, and all is well.

Thanks,
Steve
--
E-Mail: Steve Gore [EMAIL PROTECTED]
Date: 13-May-99
Time: 15:51:13

--


Re: Help w/dpkg (no /etc/init.d file)

1999-05-13 Thread Steve Gore

On 13-May-99 Brian Servis wrote:
 *- On 13 May, [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Date: 13-May-99
Time: 15:58:43

--


Re: Help w/dpkg (no /etc/init.d file)

1999-05-13 Thread Brian Servis
*- On 13 May, Steve Gore wrote about Re: Help w/dpkg (no /etc/init.d file)
 
 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 [EMAIL PROTECTED]
 Date: 13-May-99
 Time: 15:58:43
 
 --

BTW, you address bounced ealier, it might on this as well. Below is the
error message.

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]

   - Transcript of session follows -
... while talking to mail.ev1.net.:
 RCPT To:[EMAIL PROTECTED]
 550 unknown user [EMAIL PROTECTED]
550 [EMAIL PROTECTED]... User unknown

Reporting MTA: dns; pier.ecn.purdue.edu
Received From MTA: DNS; ppp-x9-36.ecn.purdue.edu
 Arrival Date: Thu, 13 May 1999 10:34:36 -0500 (EST)

  Final Recipient: RFC822; [EMAIL PROTECTED]
   Action: failed
   Status: 5.1.1
   Remote MTA: DNS; mail.ev1.net
  Diagnostic Code: SMTP; 550 unknown user [EMAIL PROTECTED]
Last Attempt Date: Thu, 13 May 1999 10:34:37 -0500 (EST)

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-