<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv5054836510"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: "times new roman", "new york", "times", serif;"><div id="yiv5054836510yui_3_7_2_40_1378748407555_68">I believe this problem comes about because:</div><div id="yiv5054836510yui_3_7_2_40_1378748407555_117"><br id="yiv5054836510yui_3_7_2_40_1378748407555_139"></div><div id="yiv5054836510yui_3_7_2_40_1378748407555_66">libgl1-mesa-glx 8.0.5-3  has the library libGL.so.1.2:</div><div id="yiv5054836510yui_3_7_2_40_1378748407555_73">   => dpkg --contents libgl1-mesa-glx_8.0.5-3_i386.deb <br>  drwxr-xr-x root/root         0 2012-12-06 17:23 ./<br>  drwxr-xr-x root/root         0 2012-12-06 17:22 ./usr/<br>  drwxr-xr-x root/root         0
 2012-12-06 17:22 ./usr/lib/<br>  drwxr-xr-x root/root         0 2012-12-06 17:22 ./usr/lib/i386-linux-gnu/<br>  -rw-r--r-- root/root    363020 2012-12-06 17:22 ./usr/lib/i386-linux-gnu/libGL.so.1.2   <<<<<<br id="yiv5054836510yui_3_7_2_40_1378748407555_79"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_82"><br id="yiv5054836510yui_3_7_2_40_1378748407555_84"></div><div id="yiv5054836510yui_3_7_2_40_1378748407555_77" style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;">while the newer libgl1-mesa-glx 9.1.6-2 has the library:</div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_93">  => dpkg --contents /var/cache/apt/archives/libgl1-mesa-glx_9.1.6-2_i386.deb <br>  drwxr-xr-x root/root   
      0 2013-08-12 02:50 ./<br>  drwxr-xr-x root/root         0 2013-08-12 02:50 ./usr/<br>  drwxr-xr-x root/root         0 2013-08-12 02:50
 ./usr/lib/<br>  drwxr-xr-x root/root         0 2013-08-12 02:50 ./usr/lib/i386-linux-gnu/<br>  -rw-r--r-- root/root    357692 2013-08-12 02:50 ./usr/lib/i386-linux-gnu/libGL.so.1.2.0 <<<<<<br>  drwxr-xr-x root/root         0 2013-08-12 02:50 ./usr/share/<br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_121"><br id="yiv5054836510yui_3_7_2_40_1378748407555_123"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_127"><br id="yiv5054836510yui_3_7_2_40_1378748407555_129"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_87">glx-diversions postinst is checking for a
 final target of libGL.so.1.2 (not libGL.so.1.2.0) so it always<br id="yiv5054836510yui_3_7_2_40_1378748407555_133"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_131">fails when the newer libgl1-mesa-glx is installed:</div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_136">    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</div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_144"><br id="yiv5054836510yui_3_7_2_40_1378748407555_146"></div><div style="color:rgb(0, 0, 0);font-size:16px;
background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_141">Perhaps the postinst script could check only that the link is owned by the package libgl1-mesa-glx; here is a piece of the</div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_153">postinst script showing the problem:</div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_157"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_149">+ owner=libgl1-mesa-glx:i386: /usr/lib/i386-linux-gnu/libGL.so.1       <<<<< package installing an
 libGL.so.1<br>+ [ -L /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 ]<br>+ [ -z libgl1-mesa-glx:i386: /usr/lib/i386-linux-gnu/libGL.so.1 ]<br>+ readlink /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1<br>+ link=libGL.so.1.2.0                                                                        <<<<< readlink -f of its libGL.so.1<br>+ [ -L /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 ]<br>+ [ libGL.so.1.2.0 = mesa/libGL.so.1 ]<br>+ [ -L /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 ]<br>+ [ libGL.so.1.2.0 = libGL.so.1.2 ]<br>+ [ -L /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 ]<br>+ [ libGL.so.1.2.0 != libGL.so.1.2 ]</div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><br></div><div
 style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;">+ echo Removing diverted 'libGL.so.1' symlink with unexpected target 'libGL.so.1.2.0'.<br>Removing diverted 'libGL.so.1' symlink
 with unexpected target 'libGL.so.1.2.0'.<br id="yiv5054836510yui_3_7_2_40_1378748407555_167"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_183"><br id="yiv5054836510yui_3_7_2_40_1378748407555_185"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_188"><br id="yiv5054836510yui_3_7_2_40_1378748407555_190"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_180"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_170"><br id="yiv5054836510yui_3_7_2_40_1378748407555_172"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"
 id="yiv5054836510yui_3_7_2_40_1378748407555_175"><br id="yiv5054836510yui_3_7_2_40_1378748407555_177"></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;" id="yiv5054836510yui_3_7_2_40_1378748407555_165"> </div></div></div></div></div></body></html>