Hi! Removing /usr/bin/vim in postinst before dpkg-divert did not help. What surprises me most is that the diversion is not removed from /var/.../diversions, so dpkg-divert is either not even called or returns 0 despite taking no action (otherwise apt-get would interrupt). Willi