Bug#712304: glx-diversions: broken symlinks with libgl1-mesa-glx 9.1.3-6

Sven Joachim svenjoac at gmx.de
Sat Jun 15 08:51:29 UTC 2013


Package: glx-diversions
Version: 0.3.0
Severity: serious

In Mesa 9.1 the libGL installation has changed, especially libGL.so.1 no
longer points to libGL.so.1.2 but rather libGL.so.1.2.0:

,----
| $ ls -l /usr/lib/i386-linux-gnu/libGL.so*
| lrwxrwxrwx 1 root root     14 Jun  7 21:37 /usr/lib/i386-linux-gnu/libGL.so -> libGL.so.1.2.0
| lrwxrwxrwx 1 root root     14 Jun  7 21:37 /usr/lib/i386-linux-gnu/libGL.so.1 -> libGL.so.1.2.0
| -rw-r--r-- 1 root root 354876 Jun  7 21:37 /usr/lib/i386-linux-gnu/libGL.so.1.2.0
`----

Installing glx-diversions in this situation leads to broken symlinks
(see Package-specific info below), and the glx-alternative-mesa package
silently fails to set up any alternatives, AFAICS.

Even after purging the glx-diversions package, broken symlinks remain:

,----
| # aptitude purge --purge-unused glx-alternative-mesa
| The following packages will be REMOVED:
|   glx-alternative-mesa{p} glx-diversions{pu} nvidia-installer-cleanup{pu} 
| 0 packages upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
| Need to get 0 B of archives. After unpacking 227 kB will be freed.
| Do you want to continue? [Y/n/?] 
| (Reading database ... 200494 files and directories currently installed.)
| Removing glx-alternative-mesa ...
| Removing glx-diversions ...
| Removing 'diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 by glx-diversions'
| Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions'
| Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions'
| Removing 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by glx-diversions'
| Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions'
| Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions'
| Removing 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by glx-diversions'
| Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions'
| Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions'
| Removing 'diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions'
| Removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions'
| Removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions'
| Purging configuration files for glx-diversions ...
| Removing nvidia-installer-cleanup ...
| Purging configuration files for nvidia-installer-cleanup ...
|                                 
| # ls -l /usr/lib/i386-linux-gnu/libGL.so*
| lrwxrwxrwx 1 root root     10 Jun 15 10:27 /usr/lib/i386-linux-gnu/libGL.so -> libGL.so.1
| lrwxrwxrwx 1 root root     12 Jun 15 10:27 /usr/lib/i386-linux-gnu/libGL.so.1 -> libGL.so.1.2
| -rw-r--r-- 1 root root 354876 Jun  7 21:37 /usr/lib/i386-linux-gnu/libGL.so.1.2.0
`----

I had to reinstall libgl1-mesa-glx (and libgl1-mesa-dev for the libGL.so
symlink) to fix that.


-- Package-specific info:
Diversions:
diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions
diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by glx-diversions
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions

/usr/lib/mesa-diverted:
total 124
drwxr-xr-x   4 root root   4096 Jun 15 10:35 .
drwxr-xr-x 149 root root 110592 Jun 15 10:35 ..
drwxr-xr-x   2 root root   4096 Jun 15 10:35 i386-linux-gnu
drwxr-xr-x   2 root root   4096 May  5 18:26 x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 356
drwxr-xr-x 2 root root   4096 Jun 15 10:35 .
drwxr-xr-x 4 root root   4096 Jun 15 10:35 ..
lrwxrwxrwx 1 root root     10 Jun 15 10:35 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Jun 15 10:35 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 354876 Jun  7 21:37 libGL.so.1.2.0

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 May  5 18:26 .
drwxr-xr-x 4 root root 4096 Jun 15 10:35 ..

Alternative 'glx':


File System:
-rw-r--r-- 1 root root 466180 Apr 17 13:20 /usr/lib/xorg/modules/extensions/libglx.so

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.10.0-rc5-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages glx-diversions depends on:
ii  dpkg                      1.16.10
ii  nvidia-installer-cleanup  20130505+1

Versions of packages glx-diversions recommends:
ii  glx-alternative-mesa  0.3.0

glx-diversions suggests no packages.

Versions of packages glx-diversions is related to:
pn  glx-alternative-fglrx          <none>
ii  glx-alternative-mesa           0.3.0
pn  glx-alternative-nvidia         <none>
pn  libgl1-dev                     <none>
ii  libgl1-mesa-glx [libgl1]       9.1.3-6
pn  libgl1-nvidia-glx-any          <none>
pn  nvidia-glx-any                 <none>
pn  xserver-xorg-video-nvidia-any  <none>

-- no debconf information



More information about the pkg-nvidia-devel mailing list