Application problems associated with missing libGLcore.so.1 file

2010-12-03 Thread AG

Dear list

I have come across a problem that I seem to be going in circles to try 
to resolve.


I'd appreciate any help you might be able to offer.

I am unable to launch various apps (e.g. chromium, amarok, ...) 
apparently because I lack a given library file - libGLcore.so.1


I couldn't find anything under an apt-cache search, so searched it on 
the Debian website and found a number of nvidia-related packages that 
contain this library file.  All good.


I then attempt the following:

~$ sudo apt-get install libgl1-nvidia-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libgl1-nvidia-glx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6,739 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously deselected package libgl1-nvidia-glx.
(Reading database ... 338328 files and directories currently installed.)
Unpacking libgl1-nvidia-glx (from 
.../libgl1-nvidia-glx_195.36.31-6_i386.deb) ...

Setting up libgl1-nvidia-alternatives (195.36.31-6) ...
Leaving 'diversion of /usr/lib/libGL.so to 
/usr/lib/nvidia/diversions/libGL.so by libgl1-nvidia-alternatives'
Leaving 'diversion of /usr/lib/libGL.so.1 to 
/usr/lib/nvidia/diversions/libGL.so.1 by libgl1-nvidia-alternatives'
Leaving 'diversion of /usr/lib/libGL.so.1.2 to 
/usr/lib/nvidia/diversions/libGL.so.1.2 by libgl1-nvidia-alternatives'

Restoring diverted libGL.so.1 symlink.
Processing triggers for libgl1-nvidia-alternatives ...
update-alternatives: error: alternative path 
/usr/lib/nvidia/diversions/libGL.so.1 doesn't exist.

dpkg: error processing libgl1-nvidia-alternatives (--configure):
 subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
  dpkg: dependency problems prevent 
configuration of libgl1-nvidia-glx:

 libgl1-nvidia-glx depends on libgl1-nvidia-alternatives; however:
  Package libgl1-nvidia-alternatives is not configured yet.
dpkg: error processing libgl1-nvidia-glx (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
  Errors were encountered while 
processing:

 libgl1-nvidia-alternatives
 libgl1-nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)


and I am at a loss as to how to fix it.  I don't even know how to start 
processing this.  I'm obviously happy to do the grunt work, but how do I 
debug this & find a resolution?


Thanks for any help.

AG


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cf94c08.6040...@gmail.com



Re: Application problems associated with missing libGLcore.so.1 file

2010-12-04 Thread Camaleón
On Fri, 03 Dec 2010 19:59:04 +, AG wrote:

> I am unable to launch various apps (e.g. chromium, amarok, ...)
> apparently because I lack a given library file - libGLcore.so.1

Better if you put the error message you are getting when you run those 
applications from command line.

> I couldn't find anything under an apt-cache search, so searched it on
> the Debian website and found a number of nvidia-related packages that
> contain this library file.  All good.

Yep... I've got "nvidia" driver installed.

s...@stt008:~$ dpkg -S libGLcore.so.1
nvidia-glx: /usr/lib/libGLcore.so.173.14.09
nvidia-glx: /usr/lib/libGLcore.so.1

Let me check:

s...@stt008:~$ dpkg -l | grep nvidia
ii  nvidia-glx   173.14.09-5   NVIDIA binary Xorg driver
ii  nvidia-kernel-2.6.26-2-amd64  173.14.09+3+lenny1   NVIDIA binary kernel 
module for Linux 2.6.26
ii  nvidia-kernel-common20080825+1  NVIDIA binary kernel module common files

But I have installed those just because my VGA card is nvidia-based.

> I then attempt the following:
> 
> ~$ sudo apt-get install libgl1-nvidia-glx 

Hmmm, I don't even have that package installed. It seems that library can 
come from different sources.

(...)
> update-alternatives: error: alternative
> path /usr/lib/nvidia/diversions/libGL.so.1 doesn't exist. dpkg: error
> processing libgl1-nvidia-alternatives (--configure):
>   subprocess installed post-installation script returned error exit
>   status 2
> configured to not write apport reports
>dpkg: dependency problems prevent
> configuration of libgl1-nvidia-glx:
>   libgl1-nvidia-glx depends on libgl1-nvidia-alternatives; however:
>Package libgl1-nvidia-alternatives is not configured yet.
> dpkg: error processing libgl1-nvidia-glx (--configure):
>   dependency problems - leaving unconfigured
> configured to not write apport reports
>Errors were encountered while
> processing:
>   libgl1-nvidia-alternatives
>   libgl1-nvidia-glx
> E: Sub-process /usr/bin/dpkg returned an error code (1)

For what I see, "libgl1-nvidia-glx" depends on "libgl1-nvidia-
alternatives". Check if you already have it installed.

> and I am at a loss as to how to fix it.  I don't even know how to start
> processing this.  I'm obviously happy to do the grunt work, but how do I
> debug this & find a resolution?

Well, before going further on this, I would first ask myself if I 
really need that library for running amarok or chronium. For me it looks 
like the error can come from another place >:-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.04.11.26...@gmail.com



Re: Application problems associated with missing libGLcore.so.1 file

2010-12-04 Thread AG

Hi Camaleón

Thanks for your response.


On 04/12/10 11:26, Camaleón wrote:



I couldn't find anything under an apt-cache search, so searched it on
the Debian website and found a number of nvidia-related packages that
contain this library file.  All good.
 

Yep... I've got "nvidia" driver installed.

s...@stt008:~$ dpkg -S libGLcore.so.1
nvidia-glx: /usr/lib/libGLcore.so.173.14.09
nvidia-glx: /usr/lib/libGLcore.so.1

Let me check:

s...@stt008:~$ dpkg -l | grep nvidia
ii  nvidia-glx   173.14.09-5   NVIDIA binary Xorg driver
ii  nvidia-kernel-2.6.26-2-amd64  173.14.09+3+lenny1   NVIDIA binary kernel 
module for Linux 2.6.26
ii  nvidia-kernel-common20080825+1  NVIDIA binary kernel module common files

But I have installed those just because my VGA card is nvidia-based.

   


As is my card.  I have tended to go for the proprietary drivers from 
nVidia directly, & I wonder if somewhere along the line I pulled down 
the Debian libraries as part of an update?  This is certainly consistent 
with what I have found out from further research.


Anyway, the fix was to rerun the nvidia installer script after purging 
anything to do with nVidia via #aptitude purge ~i~nnvidia


This seems to have done the job & the error was mine: I mixed 
installation methods somehow without realising it. Mea culpa :-(


Thanks for your assistance though.

Cheers

AG


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cfa4fdc.6070...@gmail.com