Russ Allbery <r...@debian.org> writes: > Ian Jackson <ijack...@chiark.greenend.org.uk> writes: > >> 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. > > Oh, huh, I hadn't thought of that. But wouldn't this cause the library to > temporarily disappear, which would be contrary to the last paragraph of > Policy 8.1? Am I being too conservative about that?
For the split second between the dpkg-divert and the ln call on install or between the rm and dpkg-divert on removal. I think you are too conservative there. You are refering to "between the time that dpkg installs it and the time that ldconfig is run in the postinst script", right? But the disapearing would be only for a split second while your postinst runs. MfG Goswin -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87mxthp8t2....@frosties.localdomain