[pkg-nvidia-devel] Moving diversions between packages

Russ Allbery rra at debian.org
Sun Jul 25 17:57:15 UTC 2010

Goswin von Brederlow <goswin-v-b at web.de> writes:

> But you are right, if your suggestion is to undo this in prerm then
> there will be a long delay between undoing and redoing. But if you fully
> undo things then programs will still start, they just won't be able to
> use hardware accelerated GL and fallback to software GL.

No, that's not correct.  libGL.so.1 would disappear, which means that any
programs linked with that shared library would not be able to start at

> In prerm you do nothing for "upgrade", remove the diversion+link for
> "remove" and restore it for "failed-upgrade".

I'm not seeing why the diversion and link should be manipulated in prerm
at all rather than in postrm the way that they would be if they were
managed in preinst.  But I could very well be missing something.

Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>

More information about the Pkg-nvidia-devel mailing list