In an effort to learn more about packaging, I took a look at this
and patched the *.postrm files to remove the offending symlinks.
Is this useful?
diff -ruN dhcp-2.0pl5/debian/dhcp-client.postrm
dhcp-2.0pl5.new/debian/dhcp-client.postrm
--- dhcp-2.0pl5/debian/dhcp-client.postrm 2005-08-14 14:40:47.000000000
+1000
+++ dhcp-2.0pl5.new/debian/dhcp-client.postrm 2005-08-14 14:47:03.000000000
+1000
@@ -13,6 +13,10 @@
rm -f $PATH_DHCLIENT_DB
rm -f $PATH_DHCLIENT_DB~ # backup file left by the daemon
rmdir --ignore-fail-on-non-empty $PATH_DHCLIENT_DB_DIR
+
+ if [ -h /usr/doc/dhcp-client ] ; then
+ rm -f /usr/doc/dhcp-client
+ fi
fi
#DEBHELPER#
diff -ruN dhcp-2.0pl5/debian/dhcp.postinst dhcp-2.0pl5.new/debian/dhcp.postinst
--- dhcp-2.0pl5/debian/dhcp.postinst 2005-08-14 14:40:47.000000000 +1000
+++ dhcp-2.0pl5.new/debian/dhcp.postinst 2005-08-14 14:49:30.000000000
+1000
@@ -31,6 +31,9 @@
rmdir /var/dhcp/ 2> /dev/null || true
fi
+if [ -h /usr/doc/dhcp ]; then
+ rm -f /usr/doc/dhcp
+fi
# --- End FHS migration code ---
update-inetd --disable bootps
diff -ruN dhcp-2.0pl5/debian/dhcp.postrm dhcp-2.0pl5.new/debian/dhcp.postrm
--- dhcp-2.0pl5/debian/dhcp.postrm 2005-08-14 14:40:47.000000000 +1000
+++ dhcp-2.0pl5.new/debian/dhcp.postrm 2005-08-14 14:51:20.000000000 +1000
@@ -20,6 +20,10 @@
rm -f /etc/default/dhcp
update-rc.d dhcp remove >/dev/null
+
+ if [ -h /usr/doc/dhcp ]; then
+ rm -f /usr/doc/dhcp
+ fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
diff -ruN dhcp-2.0pl5/debian/dhcp-relay.postrm
dhcp-2.0pl5.new/debian/dhcp-relay.postrm
--- dhcp-2.0pl5/debian/dhcp-relay.postrm 2005-08-14 14:40:47.000000000
+1000
+++ dhcp-2.0pl5.new/debian/dhcp-relay.postrm 2005-08-14 14:48:50.000000000
+1000
@@ -8,6 +8,10 @@
rm -f /etc/default/dhcp-relay
update-rc.d dhcp-relay remove >/dev/null
+
+ if [ -h /usr/doc/dhcp-relay ]; then
+ rm -f /usr/doc/dhcp-relay
+ fi
fi
#DEBHELPER#