You are not logged in.

#1 2011-05-28 17:11:19

makos
Member
From: Toruń, Poland
Registered: 2010-11-29
Posts: 9

[SOLVED] libgl problem

Hi. I've looked through this forum, and I know this is a pretty common problem, but mine is kinda different. I do pacman -Syu to update, and it shows me:

[root@mateusz-desktop ~]# pacman -Syu
:: Synchronizing package databases...
 testing                  14.7K  184.2K/s 00:00:00 [######################] 100%
 core                     37.9K  272.2K/s 00:00:00 [######################] 100%
 extra                   468.2K  531.2K/s 00:00:01 [######################] 100%
 community-testing         1.6K   41.3M/s 00:00:00 [######################] 100%
 community               439.2K  532.8K/s 00:00:01 [######################] 100%
 multilib                 24.9K  214.9K/s 00:00:00 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: libgl and nvidia-utils are in conflict. Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires nvidia-utils=270.41.19
[root@mateusz-desktop ~]#

When I do pacman -Rd (or -Rdd) libgl it shows me:

[root@mateusz-desktop ~]# pacman -Rdd libgl
error: 'libgl': target not found
[root@mateusz-desktop ~]#

So I can't remove libgl, it looks like it isn't installed, yet it causes conflicts. What's the problem?

Last edited by makos (2011-06-05 20:37:13)


Arch + LXDE

Offline

#2 2011-05-28 17:37:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] libgl problem

Why are you running pacman as root? :-)

What packages need nvidia-utils or libgl?

libgl is about to be installed, that's why it causes conflict with the installed nvidia-utils.

Last edited by karol (2011-05-28 17:43:53)

Offline

#3 2011-05-28 17:50:59

makos
Member
From: Toruń, Poland
Registered: 2010-11-29
Posts: 9

Re: [SOLVED] libgl problem

karol wrote:

Why are you running pacman as root? :-)

What packages need nvidia-utils or libgl?

libgl is about to be installed, that's why it causes conflict with the installed nvidia-utils.

I don't have sudo installed, I'm just used to running everything as root, and after I'm done with stuff I just log out.

nvidia-utils dependencies:

[root@mateusz-desktop ~]# pacman -R nvidia-utils
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: gnome-session: requires libgl
:: lib32-libgl: requires libgl
:: libva: requires libgl
:: mesa: requires libgl
:: mplayer: requires libgl
:: nvidia: requires nvidia-utils=270.41.19
:: qt: requires libgl
:: wxgtk: requires libgl
:: xorg-xdriinfo: requires libgl
[root@mateusz-desktop ~]# 

Arch + LXDE

Offline

#4 2011-05-28 17:58:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] libgl problem

You need some drivers for you card: either nvidia + nvidia-utils or nouveau + libgl.
nvidia-utils provide libgl http://projects.archlinux.org/svntogit/ … k/PKGBUILD

Offline

#5 2011-05-28 18:31:51

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

Re: [SOLVED] libgl problem

i suspect you have some -dri packages installed. pacman -Qs dri and also type testdb


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

Offline

#6 2011-06-05 08:03:49

makos
Member
From: Toruń, Poland
Registered: 2010-11-29
Posts: 9

Re: [SOLVED] libgl problem

wonder wrote:

i suspect you have some -dri packages installed. pacman -Qs dri and also type testdb

Sorry I didn't respond earlier, but I was away from my home. When I type pacman -Qs dri I get a rather long list of packages, should I post it here? When I type testdb I get this:

[10:03:41]-[mateusz in ~]$ testdb
missing dependency for ati-dri : libgl=7.10.2
missing dependency for intel-dri : libgl=7.10.2
missing dependency for mach64-dri : libgl=7.10.2
missing dependency for mga-dri : libgl=7.10.2
missing dependency for r128-dri : libgl=7.10.2
missing dependency for savage-dri : libgl=7.10.2
missing dependency for sis-dri : libgl=7.10.2
missing dependency for tdfx-dri : libgl=7.10.2
[10:03:44]-[mateusz in ~]$

Arch + LXDE

Offline

#7 2011-06-05 16:35:25

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] libgl problem

Remove all those -dri packages then -Syu nvidia nvida-utils (asuming you want to use the closed source drivers)

Imo the xorg group should be reworked or a new group made, it causes so much trouble when people do -S xorg.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2011-06-05 20:16:43

makos
Member
From: Toruń, Poland
Registered: 2010-11-29
Posts: 9

Re: [SOLVED] libgl problem

Thanks, it worked. Though I noticed that after every pacman action (installing new package or updating) I get a warning in the end:

ldconfig: libraries libGL.so.270.26 and libGL.so.270.41.19 in directory /usr/lib have same soname but different type.

It doesn't cause any other errors or any trouble.

Okay nevermind. Deleted the files, warning is gone, everything working fine.

Last edited by makos (2011-06-05 20:36:59)


Arch + LXDE

Offline

#9 2012-01-16 19:31:51

Zelva
Member
Registered: 2011-09-05
Posts: 6

Re: [SOLVED] libgl problem

Mr.Elendig wrote:

Remove all those -dri packages then -Syu nvidia nvida-utils (asuming you want to use the closed source drivers)

Imo the xorg group should be reworked or a new group made, it causes so much trouble when people do -S xorg.

Hello, I have the same problem... I've removed the -dri packages (with pacman -Rdd) but I can't still do anything...

[root@localhost martin]# LANGUAGE="en" pacman -Syu nvidia nvidia-utils
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
warning: removing 'libgl' from target list because it conflicts with 'nvidia-utils'
error: failed to prepare transaction (could not satisfy dependencies)
:: ati-dri: requires libgl=7.11.2
:: intel-dri: requires libgl=7.11.2
:: mach64-dri: requires libgl=7.11.2
:: mga-dri: requires libgl=7.11.2
:: r128-dri: requires libgl=7.11.2
:: savage-dri: requires libgl=7.11.2
:: sis-dri: requires libgl=7.11.2
:: tdfx-dri: requires libgl=7.11.2
[root@localhost martin]# LANGUAGE="en" pacman -R libgl
error: 'libgl': target not found
[martin@localhost ~]$ testdb
missing dependency for xf86-video-ati : ati-dri
missing dependency for xf86-video-intel : intel-dri
missing dependency for xf86-video-mach64 : mach64-dri
missing dependency for xf86-video-mga : mga-dri
missing dependency for xf86-video-r128 : r128-dri
missing dependency for xf86-video-savage : savage-dri
missing dependency for xf86-video-sis : sis-dri
missing dependency for xf86-video-tdfx : tdfx-dri
[martin@localhost ~]$ 

I tried restarting system but nothing happened.

What should I do? Thank you a lot!

Offline

#10 2012-01-16 19:37:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] libgl problem

Zelva, please open a new thread.

Why do you have all these drivers installed? You should remove them and install only the one you need.

Offline

#11 2012-01-16 19:42:01

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

Re: [SOLVED] libgl problem

do pacman -Rns $(pacman -Qqs xorg-drivers | grep -v xf86-input-evdev)


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

Offline

#12 2012-01-16 19:45:40

Zelva
Member
Registered: 2011-09-05
Posts: 6

Re: [SOLVED] libgl problem

wonder wrote:

do pacman -Rns $(pacman -Qqs xorg-drivers | grep -v xf86-input-evdev)

[root@localhost martin]# LANGUAGE="en" pacman -Rns $(pacman -Qqs xorg-drivers | grep -v xf86-input-evdev)
checking dependencies...

Remove (42): xf86-video-xgixp-1.8.0-3  xf86-video-xgi-1.6.0-3  xf86-video-v4l-0.2.0-8  xf86-video-voodoo-1.2.4-4
             xf86-video-vmware-11.0.3-3  xf86-video-vesa-2.3.0-5  xf86-video-tseng-1.2.4-4  xf86-video-trident-1.3.4-4
             xf86-video-tdfx-1.4.3-6  xf86-video-s3virge-1.10.4-5  xf86-video-s3-0.6.3-5  xf86-video-sisusb-0.9.4-4
             xf86-video-sis-0.10.3-4  xf86-video-siliconmotion-1.7.5-2  xf86-video-savage-2.3.2-2  xf86-video-r128-6.8.1-6
             xf86-video-rendition-4.2.4-4  xf86-video-nv-2.1.18-3  xf86-video-neomagic-1.2.5-4  xf86-video-mga-1.4.13-3
             xf86-video-mach64-6.9.0-1  xf86-video-i740-1.3.2-6  xf86-video-i128-1.3.4-3  xf86-video-intel-2.15.0-2
             xf86-video-chips-1.2.4-2  xf86-video-glint-1.2.5-2  xf86-video-geode-2.11.12-3  xf86-video-fbdev-0.4.2-4
             xf86-video-dummy-0.3.4-4  xf86-video-cirrus-1.3.2-6  xf86-video-ati-6.14.2-1  xf86-video-ast-0.91.10-3
             xf86-video-ark-0.7.3-3  xf86-video-apm-1.2.3-3  xf86-input-void-1.4.0-1  xf86-input-vmmouse-12.7.0-2
             xf86-input-synaptics-1.4.1-1  xf86-input-mouse-1.7.1-1  xf86-input-keyboard-1.6.0-2
             xf86-input-joystick-1.6.0-1  xf86-input-aiptek-1.4.1-1  xf86-input-acecad-1.5.0-1

Total Removed Size:   6,01 MB

Do you want to remove these packages? [Y/n] 

Is it good idea to press "yes"?

karol: I don't know why I have all these drivers. I use only nvidia.

Offline

#13 2012-01-16 19:48:43

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

Re: [SOLVED] libgl problem

do it!

you have those drivers because you didn't read the wiki and installed the whole xorg group instead of installing only xorg-server+nvidia


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

Offline

#14 2012-01-16 19:50:47

Zelva
Member
Registered: 2011-09-05
Posts: 6

Re: [SOLVED] libgl problem

Aha! Thanks. It was used to Debian... Now it's OK.

Offline

Board footer

Powered by FluxBB