the removal is done in tcltk-defaults from experimental.
$ cat tcl.preinst
#!/bin/sh
set -e
case "$1" in
install|upgrade)
# Currently the alternatives mechanism is not used
if dpkg --compare-versions "$2" lt-nl "8.6.0+2"; then
update-alternatives --remove-all tclsh || true
fi
;;
[...]
I assume this works good enough in practice, but fails when a versioned tcl8.x
was installed without the tcl package installed. same for tk.
Matthias
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]