tags 295554 patch thanks If I've understood the issue correctly the attached patch fixes this issue.
Regards Javier
diff -Nru xinetd-2.3.13.old/debian/changelog xinetd-2.3.13/debian/changelog --- xinetd-2.3.13.old/debian/changelog 2005-03-08 15:42:26.000000000 +0100 +++ xinetd-2.3.13/debian/changelog 2005-03-08 15:43:29.000000000 +0100 @@ -1,3 +1,10 @@ +xinetd (1:2.3.13-3) unstable; urgency=low + + * NMU + * Only act on dpkg --diversions if /etc/init.d/inetd exists (Closes: #295554) + + -- Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]> Tue, 8 Mar 2005 15:42:45 +0100 + xinetd (1:2.3.13-2) unstable; urgency=low * We now start xinetd with -stayalive by default to keep it diff -Nru xinetd-2.3.13.old/debian/xinetd.postinst xinetd-2.3.13/debian/xinetd.postinst --- xinetd-2.3.13.old/debian/xinetd.postinst 2005-03-08 15:42:26.000000000 +0100 +++ xinetd-2.3.13/debian/xinetd.postinst 2005-03-08 15:37:25.000000000 +0100 @@ -18,6 +18,7 @@ fi # divert inetd's init script +if [ -e /etc/init.d/inetd ] ; then dpkg-divert --package xinetd --add --rename \ --divert /etc/init.d/inetd.real /etc/init.d/inetd >&2 @@ -35,4 +36,6 @@ %EOF% chmod 755 /etc/init.d/inetd +fi + #DEBHELPER# diff -Nru xinetd-2.3.13.old/debian/xinetd.postrm xinetd-2.3.13/debian/xinetd.postrm --- xinetd-2.3.13.old/debian/xinetd.postrm 2005-03-08 15:42:26.000000000 +0100 +++ xinetd-2.3.13/debian/xinetd.postrm 2005-03-08 15:39:27.000000000 +0100 @@ -13,7 +13,7 @@ rm -f /etc/init.d/inetd dpkg-divert --package xinetd --remove --rename --divert \ /etc/init.d/inetd.real /etc/init.d/inetd - /etc/init.d/inetd start + [ -x /etc/init.d/inetd] && /etc/init.d/inetd start ;; purge) rm -f /etc/xinetd.conf*
signature.asc
Description: Digital signature