[pkg-nvidia-devel] Moving diversions between packages
Goswin von Brederlow
goswin-v-b at web.de
Sat Jul 24 08:45:29 UTC 2010
Russ Allbery <rra at debian.org> writes:
> Ian Jackson <ijackson at 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
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.
More information about the Pkg-nvidia-devel