Followup-For: Bug #774915 Cleanup of obsolete diversions needs to be performed in postinst.
This is a completely untested suggestion for live-tools.postinst to properly clean up the obsolete uptime diversions. ===== 8< ===== #!/bin/sh set -e if [ "$1" = "configure" ] then if dpkg --compare-versions "$1" lt-nl "4.0.2-2~" then dpkg-divert --package live-tools --remove --rename --divert /usr/bin/uptime.orig.procps /usr/bin/uptime dpkg-divert --package live-tools --remove --rename --divert /usr/share/man/man1/uptime.orig.procps.1.gz /usr/share/man/man1/uptime.1.gz fi fi #DEBHELPER# ===== >8 ===== Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org