-----BEGIN PGP SIGNED MESSAGE----- On Tue, 5 Oct 1999, peter karlsson wrote:
> Is anyone here using xinetd and also having problems with the latest netstd > update? I get this: > > # dpkg --pending --configure > Setting up netbase (3.16-3) ... > update-rc.d: /etc/init.d/inetd: file does not exist > dpkg: error processing netbase (--configure): > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > netbase The problem is that xinetd diverts /etc/init.d/inetd, but doesn't replace it with anything. Or, conversely, the problem is that netbase depends on /etc/init.d/inetd not being diverted ;) I put the attached as /etc/init.d/inetd, it seems to work around this problem temporarily... A better solution would be to either have xinetd put something in place of the diverted inetd, or have netbase check to see if /etc/init.d/inetd exists before trying to manipulate it. - -- finger for PGP public key. -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBN/mE2L7M/9WKZLW5AQEroAP+PU+D50ixm44aYLG9pbHwmGihoSJ6SyTe TY0kcwGzRsyh2VmOYbRkwe3f8lpqp1x4ZRXbjVCKy47G4B+6PyzVPvzWAjU+OKG3 3IRuplFrHCEYTFooHRlFxoJlTP1/exxJORmgkPCcVS5SWXflPrCWerFTInHb5dfE 2yELLK5RGkQ= =c/hn -----END PGP SIGNATURE-----
#!/bin/sh if [ -e /etc/rc2.d/???inetd ]; then echo -n "Removing unneeded /etc/rc?.d inetd scripts..." update-rc.d -f inetd remove 2>/dev/null >/dev/null echo "Done." fi