On Fri, Mar 03, 2023 at 02:43:48PM +0000, Sam Morris wrote: > Commands to divert the original file and replace it with a symlink: > > # dpkg-divert --add --rename /usr/lib/x86_64-linux-gnu/libnssckbi.so > # ln -sr /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so > /usr/lib/x86_64-linux-gnu/libnssckbi.so
Unfortunately this no longer works reliably. Since libnssckbi.so is now found in /usr/lib/x86_64-linux-gnu, as soon any library package is installer or upgraded, ldconfig will be run, which will replace the symlink. (This is noted in the dpkg-divert man page). -- Sam Morris <https://robots.org.uk/> PGP: rsa4096/CAAA AA1A CA69 A83A 892B 1855 D20B 4202 5CDA 27B9