You are not logged in.

#1 2011-01-23 14:26:25

firingme
Member
Registered: 2011-01-23
Posts: 17

strange libgl dependency error

when I execute "sudo pacman -Su " today, it gave me the following error msg:

[aa@t410 ~]$ sudo pacman -Su
Password: 
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: compiz-core: requires libgl
:: gnome-screensaver: requires libgl
:: libva: requires libgl
:: mesa: requires libgl
:: mplayer: requires libgl
:: qt: requires libgl
:: wxgtk: requires libgl
:: xorg-xdriinfo: requires libgl

my thinkpad t410 have a nvidia card, so I've installed nvidia-utils instead of libgl, and I can see it provides what libgl can provide:

[aa@t410 ~]$ pacman -Qi nvidia-utils
Name           : nvidia-utils
Version        : 260.19.29-1
URL            : http://www.nvidia.com/
Licenses       : custom
Groups         : None
Provides       : libgl
Depends On     : xorg-server  libxvmc
Optional Deps  : gtk2: nvidia-settings
                 pkg-config: nvidia-xconfig
Required By    : compiz-core  gnome-screensaver  libreoffice  libva  mesa  mplayer  nvidia  qt  wxgtk
                 xorg-xdriinfo
Conflicts With : libgl
Replaces       : None
Installed Size : 73672.00 K
Packager       : Ionut Biru <ibiru@archlinux.org>
Architecture   : x86_64
Build Date     : Tue 14 Dec 2010 10:13:50 PM CST
Install Date   : Fri 17 Dec 2010 05:48:57 AM CST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description    : NVIDIA drivers utilities and libraries.

so, could any body kind enough to tell me , why my pacman insist on libgl instead of nvidia-utils ?

thx.

Offline

#2 2011-01-23 14:28:11

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: strange libgl dependency error

You should always use -Syu instead of -Su

Offline

#3 2011-01-24 03:26:23

firingme
Member
Registered: 2011-01-23
Posts: 17

Re: strange libgl dependency error

skunktrader wrote:

You should always use -Syu instead of -Su

before -Su , I've tried -Syu 10+ times. and it doesn't make any help.

Offline

#4 2011-01-24 10:16:18

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: strange libgl dependency error

do testdb and pacman -Qu. please paste the output


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-01-25 14:29:03

firingme
Member
Registered: 2011-01-23
Posts: 17

Re: strange libgl dependency error

wonder wrote:

do testdb and pacman -Qu. please paste the output

Hi, here it is:


[aa@t410 ~/Downloads]$ sudo testdb
Password: 
missing dependency for neroaacenc : gcc-libs-multilib
[aa@t410 ~/Downloads]$ sudo pacman -Qu
cfitsio 3.250-2
file 5.04-3
ghostscript 9.00-2
hunspell 1.2.14-1
libdbusmenu-qt 0.6.6-1
libmediainfo 0.7.38-1
libreoffice 3.3.0.3-2
libreoffice-zh-CN 3.3.0.3-2
mediainfo 0.7.38-1
nvidia 260.19.29-1
nvidia-utils 260.19.29-1
phonon 4.4.3-1
phonon-gstreamer 4.4.3-1
vlc 1.1.5-3

Offline

#6 2011-01-25 19:22:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: strange libgl dependency error

@firingme i'm not sure what's wrong. do pacman -S nvidia nvidia-utils first and then pacman -Su


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-01-28 14:09:23

firingme
Member
Registered: 2011-01-23
Posts: 17

Re: strange libgl dependency error

wonder wrote:

@firingme i'm not sure what's wrong. do pacman -S nvidia nvidia-utils first and then pacman -Su


sorry, still can't get it to work. can't understand pacman's error msg:

[aa@t410 ~/Downloads]$ sudo pacman -S nvidia nvidia-utils
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: compiz-core: requires libgl
:: gnome-screensaver: requires libgl
:: libreoffice: requires libgl
:: libva: requires libgl
:: mesa: requires libgl
:: mplayer: requires libgl
:: qt: requires libgl
:: wxgtk: requires libgl
:: xorg-xdriinfo: requires libgl
[aa@t410 ~/Downloads]$ sudo pacman -S nvidia 
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (package filename is not valid)
[aa@t410 ~/Downloads]$ sudo pacman -S -d nvidia 
looking for inter-conflicts...
error: failed to prepare transaction (package filename is not valid)

looks like I can't get my arch upgrade anymore. any help ?

Offline

#8 2011-01-28 15:19:21

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: strange libgl dependency error

Could you do a pacman -Qi mesa (or some other package depending on libgl) and find out which package currently provides libgl? Is it just an older version of nvidia-utils?

Last edited by Ramses de Norre (2011-01-28 15:20:17)

Offline

#9 2011-01-29 13:34:39

firingme
Member
Registered: 2011-01-23
Posts: 17

Re: strange libgl dependency error

Ramses de Norre wrote:

Could you do a pacman -Qi mesa (or some other package depending on libgl) and find out which package currently provides libgl? Is it just an older version of nvidia-utils?

looks like the pacman still think I have libgl installed .. I don't know why .

[aa@t410 ~/Downloads]$ pacman -Qi mesa 
Name           : mesa
Version        : 7.9.0.git20101207-2
URL            : http://mesa3d.sourceforge.net
Licenses       : custom
Groups         : None
Provides       : None
Depends On     : libgl  libx11>=1.3.5  libxt>=1.0.8  gcc-libs>=4.5  dri2proto=2.3  libdrm>=2.4.22
                 glproto>=1.4.12
Optional Deps  : None
Required By    : clutter  compiz-core  freeglut  glew  grass  jasper  qt3  vlc
Conflicts With : None
Replaces       : None
Installed Size : 3734.00 K
Packager       : Andreas Radke <andyrtr@archlinux.org>
Architecture   : x86_64
Build Date     : Wed 08 Dec 2010 04:15:50 AM CST
Install Date   : Mon 13 Dec 2010 10:40:25 AM CST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Mesa 3-D graphics libraries and include files

[aa@t410 ~/Downloads]$ pacman -Qi libgl
error: package "libgl" not found

Offline

#10 2011-02-01 08:23:21

firingme
Member
Registered: 2011-01-23
Posts: 17

Re: strange libgl dependency error

does this mean that my arch box can't get any upgrade any more ?

anyone can give a more hint ?

thx

Offline

#11 2011-02-01 09:21:01

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: strange libgl dependency error

I have no idea what's going on there, sorry... I think in your position I would try some brute-force methods. Like removing the offending packages (the ones that complain about libgl) and see what happens then.

Offline

#12 2011-02-12 18:53:06

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: strange libgl dependency error

ok. i think i know wants the problem. pacman -Qs nouveau

remove all of them and you will be able to pacman -Syu cleanly


Give what you have. To someone, it may be better than you dare to think.

Offline

#13 2011-02-13 16:33:33

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: strange libgl dependency error

wonder wrote:

ok. i think i know wants the problem. pacman -Qs nouveau

remove all of them and you will be able to pacman -Syu cleanly

If that doesn't work out, remove nvidia-utils from /var/cache/pacman/pkg and reinstall it with pacman -Sf nvidia-utils.

Offline

Board footer

Powered by FluxBB