Bug#779186: glx-diversions: Impossible to uninstall glx-diversions

José Luis García Pallero jgpallero at gmail.com
Wed Feb 25 10:38:07 UTC 2015


Package: glx-diversions
Version: 0.5.1
Severity: important

Dear Maintainer,

I've installed the AMD/ATI fglrx drivers in Debian Sid. The glx-diversions
package was also installed as dependency. Now, I want to uninstall the fglrx
related packages and I want to return to use the libgl1-mesa-swx11 package as
OpenGL library. Installing libgl1-mesa-swx11 package means automatically to
uninstall glx-diversions. glx-diversions is impossible to uninstall due to
errors. A workaround exists for uninstaling it:

1. Open the /var/lib/dpkg/info/glx-diversions.postrm script
2. Put the order 'exit 0' at the begining of it, so the centras part of the
script will not be executed. Then, the glx-diversions is uninstalled

I think it is a bug



-- Package-specific info:
Diversions:
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2.0.0 by glx-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/i386-linux-gnu/libGLESv1_CM.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2.0.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/libGLESv1_CM.so to /usr/lib/mesa-diverted/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/libGLESv2.so to /usr/lib/mesa-diverted/libGLESv2.so by glx-diversions
diversion of /usr/lib/libGLESv2.so.2 to /usr/lib/mesa-diverted/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/libGLESv2.so.2.0.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
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2.0.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2.0.0 by glx-diversions

/usr/lib/mesa-diverted:
total 68
drwxr-xr-x   5 root root  4096 Feb 25 11:30 .
drwxr-xr-x 143 root root 49152 Feb 25 11:30 ..
drwxr-xr-x   2 root root  4096 Oct 22 01:08 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 Feb 20 20:42 i386-linux-gnu
lrwxrwxrwx   1 root root    11 Feb  5 11:22 libEGL.so -> libEGL.so.1
lrwxrwxrwx   1 root root    16 Feb  5 11:22 libEGL.so.1 -> libEGL.so.340.65
lrwxrwxrwx   1 root root    33 Feb 25 11:30 libGL.so-master -> /etc/alternatives/libGL.so-master
lrwxrwxrwx   1 root root    17 Feb  5 11:22 libGLESv1_CM.so -> libGLESv1_CM.so.1
lrwxrwxrwx   1 root root    22 Feb  5 11:22 libGLESv1_CM.so.1 -> libGLESv1_CM.so.340.65
lrwxrwxrwx   1 root root    14 Feb  5 11:22 libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx   1 root root    19 Feb  5 11:22 libGLESv2.so.2 -> libGLESv2.so.340.65
drwxr-xr-x   2 root root  4096 Feb 25 11:20 x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Feb 20 20:42 .
drwxr-xr-x 5 root root 4096 Feb 25 11:30 ..
lrwxrwxrwx 1 root root   48 Feb 20 20:16 libGL.so.1.2 -> /usr/lib/i386-linux-gnu/fglrx/fglrx-libGL.so.1.2

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 624
drwxr-xr-x 2 root root   4096 Feb 25 11:20 .
drwxr-xr-x 5 root root   4096 Feb 25 11:30 ..
lrwxrwxrwx 1 root root     10 Feb 25 11:14 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     14 Jan 15 15:01 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 627320 Jan 15 15:01 libGL.so.1.2.0

Alternative 'glx':
glx - auto mode
  link currently points to /usr/lib/fglrx
/usr/lib/fglrx - priority 99
  slave glx--fglrx-blacklists-radeon.conf: /etc/ati/fglrx-blacklists-radeon.conf
  slave glx--fglrx_drv.so: /usr/lib/fglrx/fglrx_drv.so
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
  slave glx--linux-libglx.so: /usr/lib/fglrx/fglrx-libglx.so
/usr/lib/fglrx/igpu - priority 90
  slave glx--fglrx-blacklists-radeon.conf: /etc/ati/fglrx-blacklists-radeon.conf
  slave glx--fglrx_drv.so: /usr/lib/fglrx/fglrx_drv.so
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
/usr/lib/mesa-diverted - priority 5
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
Current 'best' version is '/usr/lib/fglrx'.

lrwxrwxrwx 1 root root 14 Feb 25 11:30 /etc/alternatives/glx -> /usr/lib/fglrx
lrwxrwxrwx 1 root root 37 Feb 25 11:30 /etc/alternatives/glx--fglrx-blacklists-radeon.conf -> /etc/ati/fglrx-blacklists-radeon.conf
lrwxrwxrwx 1 root root 27 Feb 25 11:30 /etc/alternatives/glx--fglrx_drv.so -> /usr/lib/fglrx/fglrx_drv.so
lrwxrwxrwx 1 root root 48 Feb 25 11:30 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 50 Feb 25 11:30 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 30 Feb 25 11:30 /etc/alternatives/glx--linux-libglx.so -> /usr/lib/fglrx/fglrx-libglx.so

File System:
lrwxrwxrwx 1 root root     21 Feb 25 11:30 /usr/lib/glx -> /etc/alternatives/glx
lrwxrwxrwx 1 root root     34 Feb 23 13:36 /usr/lib/i386-linux-gnu/libGL.so -> /usr/lib/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root     36 Feb 23 13:36 /usr/lib/i386-linux-gnu/libGL.so.1 -> /usr/lib/i386-linux-gnu/libGL.so.1.2
lrwxrwxrwx 1 root root     48 Feb 23 13:36 /usr/lib/i386-linux-gnu/libGL.so.1.2 -> /usr/lib/i386-linux-gnu/fglrx/fglrx-libGL.so.1.2
lrwxrwxrwx 1 root root     48 Feb 25 11:30 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root     14 Feb 25 11:30 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 380168 Jun  7  2013 /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
-rw-r--r-- 1 root root 431600 Apr 17  2013 /usr/lib/xorg/modules/extensions/libglx.so


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

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

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

glx-diversions suggests no packages.

Versions of packages fglrx-driver depends on:
ii  debconf [debconf-2.0]                  1.5.55
ii  glx-alternative-fglrx                  0.5.1
ii  libc6                                  2.19-15
ii  libfglrx                               1:14.9+ga14.201-2
ii  libgl1-mesa-glx [libgl1]               10.4.2-2
ii  libx11-6                               2:1.6.2-3
ii  libxext6                               2:1.3.3-1
ii  libxrandr2                             2:1.4.2-1+b1
ii  libxrender1                            1:0.9.8-1+b1
ii  xserver-xorg-core [xorg-video-abi-18]  2:1.16.4-1

Versions of packages fglrx-driver recommends:
pn  fglrx-atieventsd                                 <none>
pn  fglrx-modules-dkms | fglrx-kernel-14.9+ga14.201  <none>
pn  libgl1-fglrx-glx                                 <none>
pn  libgl1-fglrx-glx-i386                            <none>

Versions of packages fglrx-driver suggests:
pn  amd-opencl-icd  <none>
pn  fglrx-control   <none>
pn  xvba-va-driver  <none>

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

-- debconf information:
  fglrx-driver/removed-but-enabled-in-xorg-conf:
* fglrx-driver/needs-xorg-conf-to-enable:
  fglrx-driver/check-xorg-conf-on-removal: true



More information about the pkg-nvidia-devel mailing list