Ok what I think I'll do is to add: "Breaks: libtakari-polyglot-maven-java (<< 0.4.11-2)" to libtakari-polyglot-groovy-java. I think that's more explicit than a versioned depends, and should prevent any instances of users accidentally having wrong versions of the two packages.
You'll need both Breaks: libtakari-polyglot-maven-java (<< 0.4.11-2) Replaces: libtakari-polyglot-maven-java (<< 0.4.11-2)s.t. dkms handles the takeover of the files correctly in all poassible unpacking orderings.
Andreas