Just in case you haven't already figured this out,
dpkg-divert is part of
dpkg, which should already be installed on your system. It should be at
/usr/sbin/dpkg-divert, & if it isn't you should be able find it w/:
Did you solve this on your own?
If so, what was the problem?