Here is a simple patch to add alternatives support for traceroute6. It's minimally tested (builds and allows installation of traceroute and iputils-tracepath at the same time on my system):
diff -urN traceroute-2.0.7.dist/debian/control traceroute-2.0.7/debian/control --- traceroute-2.0.7.dist/debian/control 2007-08-14 13:12:27.000000000 +0200 +++ traceroute-2.0.7/debian/control 2007-08-14 13:53:47.000000000 +0200 @@ -8,8 +8,8 @@ Package: traceroute Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Conflicts: iputils-tracepath, tcptraceroute -Replaces: iputils-tracepath, tcptraceroute +Conflicts: tcptraceroute +Replaces: tcptraceroute Description: Traces the route taken by packets over an IPv4/IPv6 network The traceroute utility displays the route used by IP packets on their way to a specified network (or Internet) host. Traceroute displays the IP number and diff -urN traceroute-2.0.7.dist/debian/postinst traceroute-2.0.7/debian/postinst --- traceroute-2.0.7.dist/debian/postinst 1970-01-01 01:00:00.000000000 +0100 +++ traceroute-2.0.7/debian/postinst 2007-08-14 13:53:28.000000000 +0200 @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + update-alternatives \ + --install /usr/bin/traceroute6 traceroute6 /usr/bin/traceroute 100 \ + --slave /usr/share/man/man8/traceroute6.8.gz traceroute6.8.gz /usr/share/man/man8/traceroute.8.gz +fi + +exit 0 + diff -urN traceroute-2.0.7.dist/debian/prerm traceroute-2.0.7/debian/prerm --- traceroute-2.0.7.dist/debian/prerm 1970-01-01 01:00:00.000000000 +0100 +++ traceroute-2.0.7/debian/prerm 2007-08-14 13:50:40.000000000 +0200 @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = remove ] || [ "$1" = deconfigure ]; then + update-alternatives --remove traceroute6 /usr/bin/traceroute6.traceroute +fi + +exit 0 + diff -urN traceroute-2.0.7.dist/debian/rules traceroute-2.0.7/debian/rules --- traceroute-2.0.7.dist/debian/rules 2007-08-14 13:12:27.000000000 +0200 +++ traceroute-2.0.7/debian/rules 2007-08-14 13:53:03.000000000 +0200 @@ -47,11 +47,9 @@ install -D -m 0644 libsupp/clif.h debian/traceroute/usr/include/clif.h # Installing symlinks - ln -s traceroute debian/traceroute/usr/bin/traceroute6 ln -s traceroute debian/traceroute/usr/bin/tracert install -d -m 0755 debian/traceroute/usr/share/man/man8 - ln -s traceroute.8.gz debian/traceroute/usr/share/man/man8/traceroute6.8.gz ln -s traceroute.8.gz debian/traceroute/usr/share/man/man8/tracert.8.gz ln -s traceroute.8.gz debian/traceroute/usr/share/man/man8/tcptraceroute.8.gz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]