You are not logged in.

#1 2013-04-04 08:30:17

kurt
Member
Registered: 2009-09-06
Posts: 140

[SOLVED] libgl

I'm running KDE4 and have an NVIDIA GTX580

When I attempted a pacman -Syu today I got the following:

:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: cairo: requires libgl
:: freeglut: requires libgl
:: glu: requires libgl
:: libva: requires libgl
:: mplayer2: requires libgl
:: qt4: requires libgl

I then attempted a pacman -S libgl and got the following:

:: There are 4 providers available for libgl:
:: Repository extra
   1) mesa-libgl  2) nvidia-304xx-utils  3) nvidia-libgl
:: Repository community
   4) catalyst-utils

I guessed at 3 and got:

Enter a number (default=1): 3
resolving dependencies...
looking for inter-conflicts...
:: nvidia-libgl and nvidia-utils are in conflict (libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia-libgl: requires nvidia-utils
:: nvidia: requires nvidia-utils=313.26

Can anyone enlighten me and what I should have/do?

Cheers

Make liberal use of code tags when posting code snippets -- Inxsible

Last edited by Inxsible (2013-04-04 14:15:44)

Offline

#2 2013-04-04 08:35:35

tracuboTL
Member
Registered: 2010-10-04
Posts: 55

Re: [SOLVED] libgl

I've the same problem here: Gnome 3.6 and nvidia official driver for GeForce GT240M:

sudo pacman -Syu

errore: impossibile eseguire l'operazione richiesta (impossibile soddisfare le dipendenze)
:: cairo: richiede libgl
:: freeglut: richiede libgl
:: glu: richiede libgl
:: gnome-session: richiede libgl
:: libva: richiede libgl
:: qt4: richiede libgl
:: qt5-base: richiede libgl
:: webkitgtk2: richiede libgl
:: webkitgtk3: richiede libgl

Offline

#3 2013-04-04 08:41:50

kaveiros
Member
From: Greece
Registered: 2010-09-08
Posts: 21

Re: [SOLVED] libgl

Same problem here as well

 
[root@archLaptop kaveiros]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: cairo: requires libgl
:: freeglut: requires libgl
:: glu: requires libgl
:: libva: requires libgl
:: mplayer: requires libgl
:: qt4: requires libgl
:: wxgtk: requires libgl

Offline

#4 2013-04-04 08:43:36

sinatosk
Member
Registered: 2010-11-28
Posts: 107

Re: [SOLVED] libgl

$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: cairo: requires libgl
:: freeglut: requires libgl
:: glu: requires libgl
:: libva: requires libgl
:: mplayer: requires libgl
:: qt4: requires libgl
:: unigine-heaven: requires libgl
:: unigine-valley: requires libgl
:: wxgtk: requires libgl
$ sudo pacman -S libgl
:: There are 4 providers available for libgl:
:: Repository extra
   1) mesa-libgl  2) nvidia-304xx-utils  3) nvidia-libgl
:: Repository community
   4) catalyst-utils

Enter a number (default=1): 3
resolving dependencies...
looking for inter-conflicts...
:: nvidia-libgl and nvidia-utils are in conflict (libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia-libgl: requires nvidia-utils
:: lib32-nvidia-utils: requires nvidia-utils
:: nvidia: requires nvidia-utils=313.26
:: nvidia-lts: requires nvidia-utils=313.26

myself included

I think some of the nvidia packages are not upgraded on the repository yet while others are and so there are conflicts... think we just need to wait until all nvidia packages are there

313.30 is out but it still mentioning 313.26

Use code tags as opposed to quote tags -- Inxsible

Last edited by Inxsible (2013-04-04 14:13:39)

Offline

#5 2013-04-04 08:58:34

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: [SOLVED] libgl

Upgrade through this steps:

pacman -Rdd nvidia-utils
pacman -S nvidia-libgl
pacman -Su


TU id: mtorromeo
My packages: Community, AUR

Offline

#6 2013-04-04 09:01:09

rezza
Member
From: Edinburgh, uk
Registered: 2004-07-08
Posts: 237

Re: [SOLVED] libgl

ryosaeba83 wrote:

Upgrade through this steps:

pacman -Rdd nvidia-utils
pacman -S nvidia-libgl
pacman -Su

This works. Thanks!

Offline

#7 2013-04-04 09:07:12

kaveiros
Member
From: Greece
Registered: 2010-09-08
Posts: 21

Re: [SOLVED] libgl

Worked for me too.

Offline

#8 2013-04-04 09:12:37

kurt
Member
Registered: 2009-09-06
Posts: 140

Re: [SOLVED] libgl

ryosaeba83 wrote:

Upgrade through this steps:

pacman -Rdd nvidia-utils
pacman -S nvidia-libgl
pacman -Su

Thankyou - Worked a charm. Will mark post as SOLVED.

Offline

#9 2013-04-04 09:18:06

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [SOLVED] libgl

Thanks +1 for solution.

My hero smile


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#10 2013-04-04 09:30:21

cdown
Member
From: London, England
Registered: 2013-02-09
Posts: 55
Website

Re: [SOLVED] libgl

ryosaeba83 wrote:

Upgrade through this steps:

pacman -Rdd nvidia-utils
pacman -S nvidia-libgl
pacman -Su

Thanks, this works for me. Out of curiosity, why did this happen? It is because nvidia-libgl is a new package that didn't provide the previous bundled libgl?

Last edited by cdown (2013-04-04 09:40:52)

Offline

#11 2013-04-04 09:50:55

fas
Member
Registered: 2012-08-12
Posts: 9

Re: [SOLVED] libgl

What if I need nvidia-utils? I need my nvidia-settings command.

Offline

#12 2013-04-04 09:52:06

cdown
Member
From: London, England
Registered: 2013-02-09
Posts: 55
Website

Re: [SOLVED] libgl

fas wrote:

What if I need nvidia-utils? I need my nvidia-settings command.

nvidia-utils is a dependency for nvidia-libgl, you won't lose it.

ct:l:~$ pacman -Qi nvidia-libgl
Name           : nvidia-libgl
Version        : 313.30-1
URL            : http://www.nvidia.com/
Licences       : custom
Groups         : None
Provides       : libgl
Depends On     : nvidia-utils
Optional Deps  : None
Required By    : cairo  freeglut  glu  libva  mplayer  qt4  wxgtk
Conflicts With : libgl
Replaces       : nvidia-utils<=313.26-1
Installed Size :  25.00 KiB
Packager       : Sven-Hendrik Haase <sh@lutzhaase.com>
Architecture   : x86_64
Build Date     : Wed 03 Apr 2013 16:36:27 MYT
Install Date   : Thu 04 Apr 2013 17:30:11 MYT
Install Reason : Explicitly installed
Install Script : No
Description    : NVIDIA drivers libraries symlinks

If you want to make nvidia-utils explicitly installed afterwards, in case the dependency goes away (although from the looks of it, it won't):

pacman -D --asexplicit nvidia-utils

Last edited by cdown (2013-04-04 09:56:51)

Offline

#13 2013-04-04 09:59:46

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: [SOLVED] libgl

-Rdd… yeah, every time something like this happens, I uninstall all packages "behind" the one in question, update and install the removed packages again. Then I come to the forums and read -Rdd, rest my face in my palm for a minute and sob a little.

Offline

#14 2013-04-04 10:01:48

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: [SOLVED] libgl

The libgl part of the nvidia drivers has been split from nvidia-utils.
See this thread for more info about this: https://mailman.archlinux.org/pipermail … 24608.html

pacman got confused by this since the nvidia-utils did not provide libgl anymore, which is a dependency of many packages but it's not a package itself (there is no "libgl" in the repositories).
Handling this situation is difficult.

nvidia-libgl tries to solve this with the following declarations:
    depends=('nvidia-utils')
    replaces=('nvidia-utils<=313.26-1')
    conflicts=('libgl')
    provides=('libgl')

but I guess pacman was not smart enough here.

Last edited by ryosaeba83 (2013-04-04 10:02:45)


TU id: mtorromeo
My packages: Community, AUR

Offline

#15 2013-04-04 10:02:43

cdown
Member
From: London, England
Registered: 2013-02-09
Posts: 55
Website

Re: [SOLVED] libgl

Awebb wrote:

-Rdd… yeah, every time something like this happens, I uninstall all packages "behind" the one in question, update and install the removed packages again. Then I come to the forums and read -Rdd, rest my face in my palm for a minute and sob a little.

I can't see how -Rdd is dangerous in this instance, unless I'm missing something. No other transactions take place before the package is reinstalled.

ryosaeba83 wrote:

The libgl part of the nvidia drivers has been split from nvidia-utils.
See this thread for more info about this: https://mailman.archlinux.org/pipermail … 24608.html

pacman got confused by this since the nvidia-utils did not provide libgl anymore, which is a dependency of many packages but it's not a package itself (there is no "libgl" in the repositories).
Handling this situation is difficult.

nvidia-libgl tries to solve this with the following declarations:
    depends=('nvidia-utils')
    replaces=('nvidia-utils<=313.26-1')
    conflicts=('libgl')
    provides=('libgl')

but I guess pacman was not smart enough here.

That's good information, thanks. I guess it's time to add -dev-public to my subscriptions.

Last edited by cdown (2013-04-04 10:04:32)

Offline

#16 2013-04-04 10:04:24

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: [SOLVED] libgl

cdown wrote:
Awebb wrote:

-Rdd… yeah, every time something like this happens, I uninstall all packages "behind" the one in question, update and install the removed packages again. Then I come to the forums and read -Rdd, rest my face in my palm for a minute and sob a little.

I can't see how -Rdd is dangerous in this instance, unless I'm missing something. No other transactions take place before the package is reinstalled.

I think Awebb meant that he should have used -Rdd and instead took the harder route. Either that or I did not understand either.


TU id: mtorromeo
My packages: Community, AUR

Offline

#17 2013-04-04 10:13:10

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: [SOLVED] libgl

No harm done by -Rdd, it's like ryosaeba83 said, I always have it the hard way to read the same easy solution afterwards every time. This time I took a note :-D

Offline

#18 2013-04-04 11:12:17

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] libgl

I'm sorry for this. I tested the transition locally and it went smoothly. I don't know why it is a "rough" transition in practice. I'm trying to make some quick changes for users who haven't updated yet.

Offline

#19 2013-04-04 11:58:36

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: [SOLVED] libgl

You should also have a news item published to the main page with a link to this thread.

I suspect lib32 stuff to be responsible, because the update worked fine, once I had the 32bit stuff gone.

Offline

#20 2013-04-04 12:19:56

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: [SOLVED] libgl

I think the problem lies in this dependency cycle:

- nvidia-utils<=313.26-1 provides libgl
- nvidia-libgl conflicts with other libgl so nvidia-utils needs to be removed (even if a newer version will be pulled as its dependency)
- another package explicitly requires nvidia-utils (not libgl) and so it blocks the removal of nvidia-utils by nvidia-libs

This is compatible with Awebb's guess that [multilib] is involved since lib32-nvidia-utils explicitly requires nvidia-utils

Last edited by ryosaeba83 (2013-04-04 12:52:52)


TU id: mtorromeo
My packages: Community, AUR

Offline

#21 2013-04-04 12:50:57

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: [SOLVED] libgl

Multilib is always involved :-D

Updating the 32bit machine was no problem, by the way.

Offline

#22 2013-04-04 14:52:39

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [SOLVED] libgl

ryosaeba83 wrote:

Upgrade through this steps:

pacman -Rdd nvidia-utils
pacman -S nvidia-libgl
pacman -Su

Just wanted to say thanks too, this worked for me!! smile


Arch64, AMD64, LXDE

Offline

#23 2013-04-04 15:05:24

cdown
Member
From: London, England
Registered: 2013-02-09
Posts: 55
Website

Re: [SOLVED] libgl

Awebb wrote:

Multilib is always involved :-D

Updating the 32bit machine was no problem, by the way.

Ah yes, that makes sense then. Both of my affected machines are x86_64.

Last edited by cdown (2013-04-04 15:06:04)

Offline

#24 2013-04-04 15:07:30

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: [SOLVED] libgl

Just to fix some crap I previously said, lib32-nvidia-utils does not seem to require nvidia-utils so I was wrong about that.

Edit: Yes, it did. It's been updated since the last time I checked. tongue

and guess what?

pacman -Rdd lib32-nvidia-utils
pacman -S lib32-nvidia-libgl
pacman -Su

Last edited by ryosaeba83 (2013-04-04 15:10:31)


TU id: mtorromeo
My packages: Community, AUR

Offline

#25 2013-04-04 15:17:54

Archdove
Member
Registered: 2011-09-23
Posts: 118

Re: [SOLVED] libgl

Yea ok. just saw the post above... gve me a sec..

Post above [SOLVED] this:

So i did those steps:

pacman -Rdd nvidia-utils
pacman -S nvidia-libgl

but when doing:

pacman -Su

i get this:

pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-glu: requires lib32-libgl
:: lib32-qt4: requires lib32-libgl
:: steam: requires lib32-libgl

I can remove stream but not the rest because wine and skype are depending on them.

Last edited by Archdove (2013-04-04 15:20:11)

Offline

Board footer

Powered by FluxBB