You are not logged in.
I'm trying to downgrade nvidia 340xx to 304xx. I have some problems with 340, so even though my card should support 340, I'd like to try 304.
But pacman throws dependencies errors:
$ sudo pacman -Sy lib32-nvidia-304xx-libgl lib32-nvidia-304xx-utils lib32-opencl-nvidia-304xx nvidia-304xx nvidia-304xx-libgl nvidia-304xx-utils opencl-nvidia-304xx
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
infinality-bundle is up to date
infinality-bundle-multilib is up to date
resolving dependencies...
looking for conflicting packages...
:: lib32-nvidia-304xx-libgl and lib32-nvidia-340xx-libgl are in conflict (lib32-libgl). Remove lib32-nvidia-340xx-libgl? [y/N] y
:: nvidia-304xx-utils and nvidia-340xx-utils are in conflict (nvidia-utils). Remove nvidia-340xx-utils? [y/N] y
:: opencl-nvidia-304xx and opencl-nvidia-340xx are in conflict (opencl-nvidia). Remove opencl-nvidia-340xx? [y/N] y
:: nvidia-304xx-libgl and nvidia-340xx-libgl are in conflict (libgl). Remove nvidia-340xx-libgl? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-340xx-utils: requires nvidia-340xx-utils
:: nvidia-340xx: requires nvidia-340xx-utils=340.96
It says lib32-nvidia-340xx-utils has a requirement, but I don't need 340 to have anything because I'm downgrading it anyway. It feels catch22y.
How do I make that downgrade?
Last edited by JonnyRobbie (2016-01-14 21:55:56)
Offline
First of all, never -Sy $package: that will just end badly.
Remove the 340 packages and then -Syu 304 ones...
Offline
I'll keep that upgrade on mind.
However removing 340 failed at dep checks:
$ sudo pacman -R lib32-nvidia-340xx-libgl lib32-nvidia-340xx-utils lib32-opencl-nvidia-340xx nvidia-340xx nvidia-340xx-libgl nvidia-340xx-utils opencl-nvidia-340xx
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: cairo-infinality-ultimate: requires libgl
:: compton: requires libgl
:: freeglut: requires libgl
:: glu: requires libgl
:: glxinfo: requires libgl
:: google-earth: requires lib32-libgl
:: lib32-cairo-infinality-ultimate: requires lib32-libgl
:: lib32-glu: requires lib32-libgl
:: lib32-libva: requires lib32-libgl
:: lib32-pango: requires lib32-libgl
:: lib32-qt4: requires lib32-libgl
:: lib32-sdl2: requires lib32-libgl
:: libreoffice-fresh: requires libgl
:: libva: requires libgl
:: mpv: requires libgl
:: qt4: requires libgl
:: qt5-base: requires libgl
:: sdl2: requires libgl
:: steam: requires lib32-libgl
:: webkitgtk: requires libgl
:: webkitgtk2: requires libgl
:: xorg-server: requires libgl
should I force it with -Rf, or is it a not good idea?
Last edited by JonnyRobbie (2016-01-14 20:17:53)
Offline
Don't force it.
pacman -R nvidia-340xx nvidia-340xx-libgl && pacman -S nvidia-304xx nvidia-304xx-libgl
Offline
But I cannot downgrade otherwise. It fails at depchecks. See my previous post.
Offline
Offline
I can do -Rsc, but it removes a million packages with it which I would like to keep. Especially if they don't technically need to be removed, because I want to install 304 immediately after.
So the question comes back to why can't I simply -Syu as per OP and why does the pacman nags about dependencies that are moot?
edit: ok, I've noticed -Rdd, but that feels awfully dirty leaving packages completely without dependencies, even temporarily. Feels worse than -Sy alone.
Last edited by JonnyRobbie (2016-01-14 21:25:05)
Offline
in no way is this worse than -Sy, the assumption is that you immediately replace them with the correct libGL implementations you want to use. The nag is an order thing, look here for how to do it the "right" way
Offline
ok, that explains it, I guess. Thanks.
Unfortunatelly 304 failed to get into the loginmanager and I had to go back to 340, but that is another issue.
Offline