Why depend on anything to do with inetd when it's only ever needed on upgrades from very old versions? The stable version is 1.9.29, so there is no need to support upgrades from pre-1.9.
I propose to remove this part of the upgrade logic altogether: diff -ur apt-proxy-1.9.35.orig/debian/postinst apt-proxy-1.9.35/debian/postinst --- apt-proxy-1.9.35.orig/debian/postinst +++ apt-proxy-1.9.35/debian/postinst @@ -31,11 +31,6 @@ had_v2_conf=$RET if dpkg --compare-versions "$PREV" lt-nl 1.9; then - if [ -x /usr/sbin/update-inetd ]; then - echo "Disabling inetd's apt-proxy v1 line." - update-inetd --comment-chars "#<apt-proxy-v2># " --disable 9999 - invoke-rc.d inetd restart - fi db_fset $NAME/upgrading-v2 seen false || true db_input medium $NAME/upgrading-v2 || true db_go -- END -- Ben. -- Ben Hutchings Editing code like this is akin to sticking plasters on the bleeding stump of a severed limb. - me, 29 June 1999
signature.asc
Description: This is a digitally signed message part