Vincent, You're right, thank you for pointing this out. I've checked that glx-diversions_0.4.0 does include a libGL.so.1.2.0 as one of the arguments to validate_diverted_symlink and so will not have this problem.
I was not able to use this version of glx-diversions as I've kept my version of the nvidia drivers pinned to 304.64-4. This bug should be closed as a duplicate that has already been fixed in the latest version. thanks again, Jack ________________________________ From: Vincent Cheng <vincentc1...@gmail.com> To: JS <jsh...@yahoo.com> Cc: 722...@bugs.debian.org Sent: Tuesday, September 10, 2013 4:54 AM Subject: Re: Bug#722258: glx-diversions fails libGL.so.1 -> /etc/alternatives On Mon, Sep 9, 2013 at 10:54 AM, JS <jsh...@yahoo.com> wrote: > I believe this problem comes about because: > > libgl1-mesa-glx 8.0.5-3 has the library libGL.so.1.2: > => dpkg --contents libgl1-mesa-glx_8.0.5-3_i386.deb > drwxr-xr-x root/root 0 2012-12-06 17:23 ./ > drwxr-xr-x root/root 0 2012-12-06 17:22 ./usr/ > drwxr-xr-x root/root 0 2012-12-06 17:22 ./usr/lib/ > drwxr-xr-x root/root 0 2012-12-06 17:22 ./usr/lib/i386-linux-gnu/ > -rw-r--r-- root/root 363020 2012-12-06 17:22 > ./usr/lib/i386-linux-gnu/libGL.so.1.2 <<<<< > > while the newer libgl1-mesa-glx 9.1.6-2 has the library: > => dpkg --contents > /var/cache/apt/archives/libgl1-mesa-glx_9.1.6-2_i386.deb > drwxr-xr-x root/root 0 2013-08-12 02:50 ./ > drwxr-xr-x root/root 0 2013-08-12 02:50 ./usr/ > drwxr-xr-x root/root 0 2013-08-12 02:50 ./usr/lib/ > drwxr-xr-x root/root 0 2013-08-12 02:50 ./usr/lib/i386-linux-gnu/ > -rw-r--r-- root/root 357692 2013-08-12 02:50 > ./usr/lib/i386-linux-gnu/libGL.so.1.2.0 <<<<< > drwxr-xr-x root/root 0 2013-08-12 02:50 ./usr/share/ > > > glx-diversions postinst is checking for a final target of libGL.so.1.2 (not > libGL.so.1.2.0) so it always > fails when the newer libgl1-mesa-glx is installed: > validate_diverted_symlink /usr/lib${triplet}libGL.so.1 > /usr/lib/mesa-diverted${triplet}libGL.so.1 mesa/libGL.so.1 libGL.so.1.2 > This sounds like bug #712304 to me, which was fixed as of glx-diversions 0.4.0. Regards, Vincent