You are not logged in.

#1 2012-05-21 23:50:24

babel
Member
From: Mexico City
Registered: 2012-05-21
Posts: 48
Website

[Solved] Problem upgrading with libgl and nvidia-settings

Hello everyone. I installed the nvidia driver and removed libgl to avoid conflicts and everything works fine, the problem I have is when I want to upgrade, pacman tells me there's a conflict with libgl and nvidia-settings. That's a normal conflict right? The point is that I don't even have libgl installed, and the only solution pacman offers me is to uninstall nvidia-settings.

So, what can I do to avoid this problem? Why is even pacman giving me this conflic if I don't have libgl installed?

Thank you in advanced.

Last edited by babel (2012-05-22 23:41:12)

Offline

#2 2012-05-22 00:03:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Exact error messages please. nvidia-utils provides libgl, so if your upgrade is pulling in libgl you'd need to find out which package is doing so.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2012-05-22 00:14:24

babel
Member
From: Mexico City
Registered: 2012-05-21
Posts: 48
Website

Re: [Solved] Problem upgrading with libgl and nvidia-settings

That sounds like a hard time hmm

Anyway, is there a command line I could use to do this? Or is it better to allow pacman to remove nvidia-utils and upgrade, then uninstall libgl (and find out what package is pulling it in) and reinstall nvidia-utils?

Offline

#4 2012-05-22 09:21:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: [Solved] Problem upgrading with libgl and nvidia-settings

babel wrote:

That sounds like a hard time hmm

Anyway, is there a command line I could use to do this? Or is it better to allow pacman to remove nvidia-utils and upgrade, then uninstall libgl (and find out what package is pulling it in) and reinstall nvidia-utils?

pacman -Qi nivida-utils |grep required

should tell you which of your installed packages require nvidia-utils .
copy them somewhere, then upgrade .
after upgrade, run the same command for libgl and compare the outputs.

you need to do this from console, as chances are the nvidia driver will also be removed so X may not work anymore at that time.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2012-05-22 17:15:15

mostlybob
Member
Registered: 2012-01-19
Posts: 5

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Lone_Wolf wrote:
babel wrote:

That sounds like a hard time hmm

Anyway, is there a command line I could use to do this? Or is it better to allow pacman to remove nvidia-utils and upgrade, then uninstall libgl (and find out what package is pulling it in) and reinstall nvidia-utils?

pacman -Qi nivida-utils |grep required

should tell you which of your installed packages require nvidia-utils .
copy them somewhere, then upgrade .
after upgrade, run the same command for libgl and compare the outputs.

you need to do this from console, as chances are the nvidia driver will also be removed so X may not work anymore at that time.

I'm having the same trouble upgrading my install. I ran this:

sudo pacman -Qi nvidia-utils |grep Required

and get this:

libva  libwebkit3  mesa  mplayer  nvidia  qt  wxgtk xorg-xdriinfo

When you say copy them somewhere, what do you mean? If I copy the  packages to a local directory, how does that stop the dependency?

Thanks for any help.

Offline

#6 2012-05-22 22:30:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,104

Re: [Solved] Problem upgrading with libgl and nvidia-settings

I meant to copy the output of that command somewhere.
That way after the update, you can compare it with the output of

pacman -Qi libgl |grep Required

.

comparing those 2 outputs should give us info about which package is the problem.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2012-05-22 22:37:50

gnubee-vern
Member
Registered: 2011-02-26
Posts: 3

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Here is how I got around the problem;

  pacman -Syu --ignore libgl  

Pacman identified the version of libgl to update. It was needed to update nouveau-dri.
Confirm ignoring nouveau-dri & libgl, and your system will update as usual.

Hope this helps.

Last edited by gnubee-vern (2012-05-22 23:24:42)

Offline

#8 2012-05-22 23:48:05

babel
Member
From: Mexico City
Registered: 2012-05-21
Posts: 48
Website

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Thank you for all your answers. This is why I like Arch, every problem is a step to learn. This is what I did based on your solutions:

First I ran pacman -Syu --ignore libgl and pacman told me ati-dri and intel-dri wouldn't be upgraded cuz they needed libgl, but the point is I don't even need those drivers (I'm using a nvidia card) so I uninstalled them (along with  xf86-video-ati and xf86-video-intel cuz they're dependent) and then everything went smooth with the upgrade. I think the problem was I installed all the X groups instead of choosing what I needed.

Thank you all.

Offline

#9 2012-05-23 00:16:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Why did you have those drivers installed in the first place? Did you (babel & mostlybob) install them? Or are you using some other installation method (like archbang) which automatically installs those drivers (which is a stupid thing to do).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2012-05-23 00:26:11

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Did you install the entire xorg group? If so, you probably have a lot more drivers than just ati and intel that should be removed.

Offline

#11 2012-05-23 00:28:17

babel
Member
From: Mexico City
Registered: 2012-05-21
Posts: 48
Website

Re: [Solved] Problem upgrading with libgl and nvidia-settings

ngoonee wrote:

Why did you have those drivers installed in the first place? Did you (babel & mostlybob) install them? Or are you using some other installation method (like archbang) which automatically installs those drivers (which is a stupid thing to do).

As I already said: when I installed Arch I checked all the Xorg group (I can't remember the exact name right now), and yes, it was stupid; I think I thought I might needed those packages, but now I fixed the problem, thanks.

Offline

#12 2012-05-23 00:30:24

babel
Member
From: Mexico City
Registered: 2012-05-21
Posts: 48
Website

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Pres wrote:

Did you install the entire xorg group? If so, you probably have a lot more drivers than just ati and intel that should be removed.

I think I did. Right now my computer runs just fine and I don't have hard disk space problems, but yes, I should remove all the things I don't use. Any ideas?

I can live with it, but the right thing to do is remove them.

Offline

#13 2012-05-23 01:05:25

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Something like this should help:

pacman -Rns $(pacman -Q | grep xf86-video | awk '{print $1}')

This will remove all xf86-video packages. Make sure you understand how it works first and that it won't remove anything you need (it shouldn't).

From there you can use the -g option in pacman to see what remaining parts of the xorg group you have installed.

Show what you have installed from the group:

pacman -Qg xorg

Show every package in the group:

pacman -Sg xorg

You can probably remove some of the xf86-input packages you don't use. After that, the rest you might as well just leave, unless you really want to trim down.

Offline

#14 2012-05-23 17:34:05

mostlybob
Member
Registered: 2012-01-19
Posts: 5

Re: [Solved] Problem upgrading with libgl and nvidia-settings

ngoonee wrote:

Why did you have those drivers installed in the first place? Did you (babel & mostlybob) install them? Or are you using some other installation method (like archbang) which automatically installs those drivers (which is a stupid thing to do).

Archbang here. I installed the nvidia driver after the install. I'll give the --ignore option a try. Thanks.

Offline

#15 2012-05-24 22:15:27

babel
Member
From: Mexico City
Registered: 2012-05-21
Posts: 48
Website

Re: [Solved] Problem upgrading with libgl and nvidia-settings

Pres wrote:

Something like this should help:

pacman -Rns $(pacman -Q | grep xf86-video | awk '{print $1}')

I followed your advice and everything seems to works fine, thank you.

Offline

Board footer

Powered by FluxBB