Package: netkit-inetd
Version: 0.10-10.3

When I use apt-get upgrade, it stopped at the configuration of
netkit-inetd with the message:
dpkg: error processing netkit-inetd (--configure)
subprocess post-installation script returned error exit status 1
This resulted in the packages that depend on netkit-inetd not getting
configured either.

I found the cause of the problem.  It's that /etc/init.d/inetd is not
present on my PC.  And I can't seem to get netkit-inetd to install the
file /etc/init.d/

How I debugged it: I put the option -x after sh in
/var/lib/dpkg/info/netkit-inetd-postinst.  Then I tried to finish my
installation using apt-get and noted that the post-install script got
only as far as running
update-rc.d inetd defaults 20
So, I tried running this command on the command line and got:
update-rc.d: warning /etc/init.d/inetd doesn't exist.  Terminating.

So it looks like this terminating caused the error exit status.
I looked in init.d/ and found no inetd.  So I thought that perhaps I
could trick the configuration to run by creating a file inetd with
only an echo command in it to show when it runs.  Then I ran apt-get
again and everything installed OK (not really since there's a problem
with one other package not related to this problem).

But I haven't entirely fixed the problem since my inetd file is not
the real one.  So I tried to install netkit-inetd again since
according to it's list it contains the file inetd.  I then got the
error message that it tried to "restart" inetd and failed.  This makes
sense, since there is no "restart" case in the script I wrote.
Unfortunately, the configuration gives up at this error and inetd
doesn't get installed.

So the netkit-inetd package needs to be fixed to handle cases where
the inetd program is missing.  There's a couple of other bug reports
related to this problem.  I don't know why my inetd is missing since
it's in the runlevel.conf file.  Could netkit-inetd have removed it?

Perhaps I could download a copy of the inetd script from the Internet.

                        David Lawyer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to