On Wed, Feb 28, 2001 at 02:19:54AM -0500, Derek Doucette wrote:
> second problem solved, but this first one is still there.  There is
> no dhcp in /etc/init.d.  instead the tarball put in dhcpd which is
> what the link in my rc2.d directory is pointing to.  Where should I
> go from here?

I'm confused by your mention of a tarball. Debian packages come in
.deb files.

One of the files in a Debian package is a pre-removal script. Since an
old pre-removal script is mentioned, it seems that you've already got
a debian dhcp package installed, but that it's broken since
/etc/init.d/dhcp is missing:

> /var/lib/dpkg/info/dhcp.prerm: /etc/init.d/dhcp: No such file or directory
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> /var/lib/dpkg/tmp.ci/prerm: /etc/init.d/dhcp: No such file or directory

First, ensure the tarballed dhcp is stopped with:

/etc/init.d/dhcpd stop

(That's what the pre-removal script is trying to do by running /etc/init.d/dhcp.)

Next, you want to force dpkg to ignore the error from the pre-removal
script about the missing file. I'm not sure how to do this, but
dpkg --force-help shows:

 bad-path               PATH is missing important programs, problems likely

so try:

dpkg --force-bad-path -i /var/cache/apt/archives/dhcp_2.0pl4-2_i386.deb 

-- 
Tod Hagan
Campton, NH
[EMAIL PROTECTED]

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to