You are not logged in.
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
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
That sounds like a hard time
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
That sounds like a hard time
![]()
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
babel wrote:That sounds like a hard time
![]()
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 requiredshould 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 Requiredand get this:
libva libwebkit3 mesa mplayer nvidia qt wxgtk xorg-xdriinfoWhen 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
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
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
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
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
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
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
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
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 xorgShow every package in the group:
pacman -Sg xorgYou 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
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
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