Bug#606175: libgl1-nvidia-alternatives: nvidia alternatives links keep breaking
Phil Dibowitz
phil at ipom.com
Tue Dec 7 04:15:33 UTC 2010
Package: libgl1-nvidia-alternatives
Version: 195.36.31-6
Severity: important
Everytime 'apt-get upgrade' gets run most of my X programs stop being able to launch becaue they can't find symbols in libGL. It turns out this is because /usr/lib/libGL.so.1 is a link to libGL.so.1.0.5336 instead of /etc/alternatives/libGL.so.1.
I can fix it by running 'update-alternatives --config libGL.so.1' which detects the error:
# update-alternatives --config libGL.so.1
There are 2 choices for the alternative libGL.so.1 (providing /usr/lib/libGL.so.1).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/nvidia/libGL.so.1 42 auto mode
1 /usr/lib/nvidia/diversions/libGL.so.1 5 manual mode
2 /usr/lib/nvidia/libGL.so.1 42 manual mode
Press enter to keep the current choice[*], or type selection number:
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/libGL.so.1 because link group libGL.so.1 is broken.
This is how the links look before running update-alternatives (ls -il):
1818853 lrwxrwxrwx 1 root root 26 Dec 5 10:18 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
541047 lrwxrwxrwx 1 root root 17 Dec 6 06:36 /usr/lib/libGL.so.1 -> libGL.so.1.0.5336
1261571 lrwxrwxrwx 1 root root 12 Aug 30 14:20 /usr/lib/nvidia/diversions/libGL.so.1 -> libGL.so.1.2
1263233 lrwxrwxrwx 1 root root 18 Nov 18 06:42 /usr/lib/nvidia/libGL.so.1 -> libGL.so.195.36.31
84653 -rw-r--r-- 1 root root 97 Nov 18 06:49 /var/lib/dpkg/alternatives/libGL.so.1
And this is afterward:
1821160 lrwxrwxrwx 1 root root 26 Dec 6 09:14 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
541039 lrwxrwxrwx 1 root root 28 Dec 6 09:14 /usr/lib/libGL.so.1 -> /etc/alternatives/libGL.so.1
1261571 lrwxrwxrwx 1 root root 12 Aug 30 14:20 /usr/lib/nvidia/diversions/libGL.so.1 -> libGL.so.1.2
1263233 lrwxrwxrwx 1 root root 18 Nov 18 06:42 /usr/lib/nvidia/libGL.so.1 -> libGL.so.195.36.31
84653 -rw-r--r-- 1 root root 97 Nov 18 06:49 /var/lib/dpkg/alternatives/libGL.so.1
Everytime 'apt-get upgrade' runs (I run it from cron on my desktop at night, so every morning it's broken) the link reverts and random X packages won't work.
The problem may not be directly with libgl1-nvidia-alternatives but I'm not sure where else to look.
-- Package-specific info:
uname -a:
Linux rider 2.6.32-5-686 #1 SMP Sat Oct 30 22:47:19 UTC 2010 i686 GNU/Linux
/proc/version:
Linux version 2.6.32-5-686 (Debian 2.6.32-27) (maks at debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sat Oct 30 22:47:19 UTC 2010
/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86 Kernel Module 195.36.31 Tue Jun 1 22:08:27 PDT 2010
GCC version: gcc version 4.3.5 (Debian 4.3.5-4)
lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation G73 [GeForce 7600 GT] [10de:02e0] (rev a2) (prog-if 00 [VGA controller])
Subsystem: XFX Pine Group Inc. Device [1682:2249]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Region 2: Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at f7de0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgl1-nvidia-alternatives depends on:
ii dpkg 1.15.8.6 Debian package management system
libgl1-nvidia-alternatives recommends no packages.
libgl1-nvidia-alternatives suggests no packages.
Versions of packages nvidia-glx depends on:
ii dpkg 1.15.8.6 Debian package management system
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libgl1-nvidia-glx 195.36.31-6 NVIDIA binary OpenGL libraries
ii libglx-nvidia-alte 195.36.31-6 simplifies replacing Xorg module l
ii nvidia-kernel-2.6. 195.36.31-5+2.6.32-27 NVIDIA binary kernel module for Li
ii nvidia-kernel-dkms 195.36.31-6 NVIDIA binary kernel module DKMS s
ii xserver-xorg-core 2:1.7.7-10 Xorg X server - core server
Versions of packages nvidia-kernel-dkms depends on:
ii dkms 2.1.1.2-5 Dynamic Kernel Module Support Fram
ii nvidia-kernel-common 20100522+2 NVIDIA binary kernel module suppor
Versions of packages nvidia-kernel-source depends on:
ii debhelper 8.0.0 helper programs for debian/rules
ii make 3.81-8 An utility for Directing compilati
ii quilt 0.48-7 Tool to work with series of patche
Versions of packages libgl1-nvidia-alternatives is related to:
ii binutils 2.20.1-15 The GNU assembler, linker and bina
pn binutils-gold <none> (no description available)
ii linux-headers-2.6.26-1-686 [ 2.6.26-13 Header files for Linux 2.6.26-1-68
ii linux-headers-2.6.30-2-686 [ 2.6.30-8 Header files for Linux 2.6.30-2-68
ii linux-headers-2.6.32-5-686 [ 2.6.32-28 Header files for Linux 2.6.32-5-68
ii nvidia-glx [nvidia-glx] 195.36.31-6 NVIDIA binary Xorg driver
ii nvidia-kernel-common 20100522+2 NVIDIA binary kernel module suppor
ii nvidia-kernel-dkms [nvidia-k 195.36.31-6 NVIDIA binary kernel module DKMS s
ii nvidia-kernel-source 195.36.31-6 NVIDIA binary kernel module source
ii xserver-xorg 1:7.5+8 the X.Org X server
ii xserver-xorg-core 2:1.7.7-10 Xorg X server - core server
-- no debconf information
More information about the pkg-nvidia-devel
mailing list