Bug#631496: glx-alternative-nvidia: Unable to setup alternatives -- duplicate slave link /usr/lib/i386-linux-gnu/libGL.so.1

Andreas Beckmann debian at abeckmann.de
Fri Jun 24 16:25:05 UTC 2011


On 2011-06-24 13:35, James Vega wrote:
> + update-alternatives --install /usr/lib/glx glx /usr/lib/nvidia 100 --slave /usr/lib/i386-linux-gnu/libGL.so.1 glx--libGL.so.1-i386-linux-gnu /usr/lib/i386-linux-gnu/nvidia/libGL.so.1 --slave /usr/lib/i386-linux-gnu/libnvidia-cfg.so.1 glx--libnvidia-cfg.so.1-i386-linux-gnu /usr/lib/i386-linux-gnu/nvidia/libnvidia-cfg.so.1 --slave /usr/lib/i386-linux-gnu/libXvMCNVIDIA.so.1 glx--libXvMCNVIDIA.so.1-i386-linux-gnu /usr/lib/i386-linux-gnu/nvidia/libXvMCNVIDIA.so.1 --slave /usr/lib/i386-linux-gnu/libXvMCNVIDIA_dynamic.so.1 glx--libXvMCNVIDIA_dynamic.so.1-i386-linux-gnu /usr/lib/i386-linux-gnu/nvidia/libXvMCNVIDIA_dynamic.so.1 --slave /usr/lib/xorg/modules/extensions/libglx.so glx--libglx.so /usr/lib/nvidia/libglx.so --slave /usr/lib/xorg/modules/drivers/nvidia_drv.so glx--nvidia_drv.so /usr/lib/nvidia/nvidia_drv.so --slave /usr/bin/nvidia-bug-report.sh glx--nvidia-bug-report.sh /usr/lib/nvidia/nvidia-bug-report.sh
> update-alternatives: error: /var/lib/dpkg/alternatives/glx corrupt: duplicate slave link /usr/lib/i386-linux-gnu/libGL.so.1
> dpkg: error processing glx-alternative-nvidia (--configure):
>  subprocess installed post-installation script returned error exit status 2
> Errors were encountered while processing:
>  glx-alternative-nvidia

The command looks fine. Did your /var run full?
Whats the contents of /var/lib/dpkg/alternatives/glx ?

Are there any strange symbolic links at the location of the slave
sources/targets?

ls -la /etc/alternatives/nvidia*
ls -la /etc/alternatives/glx*

ls -la /usr/lib/*-linux-gnu/libGL.*
ls -la /usr/lib/*-linux-gnu/nvidia

Andreas





More information about the pkg-nvidia-devel mailing list