Re: Moving diversions between packages
Russ Allbery writes ("Moving diversions between packages"):
> 4. Do something else to move the diversions that I haven't thought of and
> that would wonderfully solve all of our problems.
Why not have the new package ship libGL.so.1 to a more specific
filename and create a symlink named libGL.so.1 by hand in its
postinst ? That way you can defer doing the diversion until that part
of the postinst, by which time the old package and its diversion are
IWBNI dpkg handled diversions much more internally than it does, but
it's a complicated problem.