You are not logged in.

#1 2016-01-14 19:51:31

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

[solved] Not able to downgrade nvidia

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

#2 2016-01-14 19:56:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] Not able to downgrade nvidia

First of all, never -Sy $package: that will just end badly.

Remove the 340 packages and then -Syu 304 ones...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-01-14 20:17:26

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

Re: [solved] Not able to downgrade nvidia

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

#4 2016-01-14 20:22:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] Not able to downgrade nvidia

Don't force it.

pacman -R nvidia-340xx nvidia-340xx-libgl && pacman -S nvidia-304xx nvidia-304xx-libgl

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-01-14 20:25:24

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

Re: [solved] Not able to downgrade nvidia

But I cannot downgrade otherwise. It fails at depchecks. See my previous post.

Offline

#6 2016-01-14 20:43:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,731

Re: [solved] Not able to downgrade nvidia

Offline

#7 2016-01-14 20:46:34

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

Re: [solved] Not able to downgrade nvidia

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

#8 2016-01-14 21:43:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,731

Re: [solved] Not able to downgrade nvidia

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

#9 2016-01-14 21:55:29

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

Re: [solved] Not able to downgrade nvidia

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

Board footer

Powered by FluxBB