[pkg-nvidia-devel] Moving diversions between packages

Ian Jackson ijackson at chiark.greenend.org.uk
Thu Jul 22 14:34:54 UTC 2010


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
gone.

IWBNI dpkg handled diversions much more internally than it does, but
it's a complicated problem.

Ian.



More information about the Pkg-nvidia-devel mailing list