I've put a cleaner approach in the Wiki at
http://wiki.zimbra.com/index.php?tit...tware_yourself
I describe how to modify the debs so that you have real Ubuntu debs that work somewhat hassle free. I found with the
modifications to /var/lib/dpkg/status I had to keep running apt-get install -f to fix up the packaging system.