Bug#873603: glx-diversions: Install and uninstall nvidia-driver fails with ERROR: The conflicting library '/usr/lib/i386-linux-gnu/libGL.so.1.2' is known to dpkg.

Chad Chenault chad at chadchenault.com
Tue Aug 29 12:46:03 UTC 2017


Package: glx-diversions
Version: 0.5.1
Severity: important

Dear Maintainer,

I changed graphics card from AMD to Nvidia and errors with installation of nvidia-grive. Graphics card is 01:00.0 VGA compatible controller: NVIDIA Corporation GT215 
[GeForce GT 240] (rev a2).

Error Messages:
Errors were encountered while processing:
		* libgl1-nvidia-glx:amd64
		* xserver-xorg-video-nvidia
		* nvidia-driver
Setting up libgl1-nvidia-glx:amd64 (340.102-1) ...
ERROR: The conflicting library '/usr/lib/i386-linux-gnu/libGL.so.1.2' is known to dpkg.
diversion by glx-diversions from: /usr/lib/i386-linux-gnu/libGL.so.1.2
diversion by glx-diversions to: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2
dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):

The problem was fixed by after running the following commands removing ‘/usr/lib/i386-linux-gnu/libGL.so.1.2’
	ls -al /usr/lib/i386-linux-gnu/libGL.so.1.2
	lrwxrwxrwx 1 root root 48 Mar 21  2016 /usr/lib/i386-linux-gnu/libGL.so.1.2 -> /usr/lib/i386-linux-gnu/fglrx/fglrx-libGL.so.1.2
	root at server:~# rm -v /usr/lib/i386-linux-gnu/libGL.so.1.2
	removed ‘/usr/lib/i386-linux-gnu/libGL.so.1.2’
	sudo apt-get update

I may have had old nvidia drivers or the nouveau installed at one time that caused this problem, however I cannot remember with any certainty.


-- 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 48
drwxr-xr-x   5 root root  4096 Aug 26 14:14 .
drwxr-xr-x 184 root root 32768 Aug 27 20:59 ..
drwxr-xr-x   2 root root  4096 Oct 21  2014 arm-linux-gnueabihf
drwxr-xr-x   2 root root  4096 Aug 26 14:06 i386-linux-gnu
drwxr-xr-x   2 root root  4096 Aug 26 13:39 x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Aug 26 14:06 .
drwxr-xr-x 5 root root 4096 Aug 26 14:14 ..
lrwxrwxrwx 1 root root   48 Mar 18  2016 libGL.so.1.2 -> /usr/lib/i386-linux-gnu/fglrx/fglrx-libGL.so.1.2

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 184
drwxr-xr-x 2 root root   4096 Aug 26 13:39 .
drwxr-xr-x 5 root root   4096 Aug 26 14:14 ..
lrwxrwxrwx 1 root root     15 Aug 19  2015 libEGL.so.1 -> libEGL.so.1.0.0
-rw-r--r-- 1 root root 173144 Aug 19  2015 libEGL.so.1.0.0
lrwxrwxrwx 1 root root     14 Mar 20  2016 libGL.so.1 -> libGL.so.1.2.0

Alternative 'glx':
glx - auto mode
  link currently points to /usr/lib/nvidia
/usr/lib/mesa-diverted - priority 5
  slave glx--libEGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
/usr/lib/nvidia - priority 100
  slave glx--libEGL.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
  slave glx--libGLESv1_CM.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
  slave glx--libGLESv2.so.2-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
  slave glx--libnvidia-cfg.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
  slave glx--linux-libglx.so: /usr/lib/nvidia/libglx.so
  slave glx--nvidia-blacklists-nouveau.conf: /etc/nvidia/nvidia-blacklists-nouveau.conf
  slave glx--nvidia-bug-report.sh: /usr/lib/nvidia/nvidia-bug-report.sh
  slave glx--nvidia_drv.so: /usr/lib/nvidia/nvidia_drv.so
Current 'best' version is '/usr/lib/nvidia'.

lrwxrwxrwx 1 root root 15 Aug 26 14:15 /etc/alternatives/glx -> /usr/lib/nvidia
lrwxrwxrwx 1 root root 44 Aug 26 14:15 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root 43 Aug 26 14:15 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root 50 Aug 26 14:15 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 47 Aug 26 14:15 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root 51 Aug 26 14:15 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 25 Aug 26 14:15 /etc/alternatives/glx--linux-libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root 42 Aug 26 14:15 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 36 Aug 26 14:15 /etc/alternatives/glx--nvidia-bug-report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 29 Aug 26 14:15 /etc/alternatives/glx--nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so

File System:
lrwxrwxrwx 1 root root     21 Aug 26 14:15 /usr/lib/glx -> /etc/alternatives/glx
lrwxrwxrwx 1 root root     34 Mar 21  2016 /usr/lib/i386-linux-gnu/libGL.so -> /usr/lib/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root     36 Mar 21  2016 /usr/lib/i386-linux-gnu/libGL.so.1 -> /usr/lib/i386-linux-gnu/libGL.so.1.2
lrwxrwxrwx 1 root root     36 Mar 21  2016 /usr/lib/x86_64-linux-gnu/libGL.so -> /usr/lib/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root     50 Aug 26 14:15 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 294312 Jul 17 08:42 /usr/lib/xorg/modules/extensions/libglx.so


-- System Information:
Debian Release: 8.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.27
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 glx-diversions is related to:
pn  glx-alternative-fglrx                                      <none>
ii  glx-alternative-mesa                                       0.5.1
ii  glx-alternative-nvidia                                     0.5.1
pn  libgl1-dev                                                 <none>
ii  libgl1-mesa-glx [libgl1]                                   10.3.2-1+deb8u1
ii  libgl1-nvidia-glx [libgl1-nvidia-glx-any]                  340.102-1
ii  nvidia-driver [nvidia-glx-any]                             340.102-1
ii  xserver-xorg-video-nvidia [xserver-xorg-video-nvidia-any]  340.102-1

-- no debconf information



More information about the pkg-nvidia-devel mailing list