Bug#246590: nvidia-glx-dev fucked up diversions and didn't fix them
I have a similar problem, where xlibmesa-gl-dev fails to install with the
same error, but for glxtokens.h. I've tracked the problem down to some
fucked up diversions:
$ dpkg -S glxtokens
nvidia-glx-dev: /usr/share/doc/nvidia-glx-dev/include/GL/glxtokens.h
diversion by nvidia-glx-dev from: /usr/include/GL/glxtokens.h
diversion by nvidia-glx-dev to: /usr/share/nvidia-glx/diversions/glxtokens.h
xlibmesa-gl-dev: /usr/include/GL/glxtokens.h
diversion by nvidia-glx-dev from: /usr/include/GL/glxtokens.h
diversion by nvidia-glx-dev to: /usr/share/nvidia-glx/diversions/glxtokens.h
xlibmesa-gl-dev: /usr/X11R6/include/GL/glxtokens.h
$ dpkg -S libGL.so
diversion by nvidia-glx-dev from: /usr/lib/libGL.so
diversion by nvidia-glx-dev to: /usr/lib/nvidia/libGL.so.xlibmesa
nvidia-glx-dev, xlibmesa-gl-dev: /usr/lib/libGL.so
diversion by nvidia-glx from: /usr/X11R6/lib/libGL.so.1
diversion by nvidia-glx to: /usr/X11R6/lib/nvidia/libGL.so.1.xlibmesa
diversion by nvidia-glx from: /usr/lib/libGL.so.1
diversion by nvidia-glx to: /usr/lib/nvidia/libGL.so.1.xlibmesa
nvidia-glx, xlibmesa-gl: /usr/lib/libGL.so.1
even though nvidia-glx-dev isn't installed during the above, so dpkg is
getting confused trying to deal with the diversions.
/usr/share/nvidia-glx/diversions doesn't exist either. Looking at preinst
for nvidia-glx-dev these diversions should have been removed, but weren't
and stuck around. So I'd suggest checking out your diversions database and
cleaning up any references to the nvidia diversions.
--
# TRS-80 trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \
# UCC Wheel Member http://trs80.ucc.asn.au/ #| what squirrels do best |
[ "There's nobody getting rich writing ]| -- Collect and hide your |
[ software that I know of" -- Bill Gates, 1980 ]\ nuts." -- Acid Reflux #231 /
Reply to: