You are not logged in.
On a fresh arch install,I found that pacman refuses to install nvidia drivers returning this message:
resolving dependencies...
warning: cannot resolve "nvidia-utils-352.21" is a dependency of "nvidia"
:: The following package cannot be upgraded due to unresolvable dependencies:
nvidia
:: Do you want to skip the above package for this upgrade [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires nvidia-utils=352.21What I believe is happening is that in the current repositories, nvidia-utils is being held at version 352.30 whereas the nvidia driver itself explicitly requires nvidia-utils version 352.21,pacman does not like the differences of the versions and therefore terminates the transaction.
Any workarounds?
Last edited by Ahad12 (2015-08-01 02:00:03)
Offline
I would think that you could blacklist nvidia-utils.
[edit] That's what I did at least. Don't know if it'll break my system. I'll find out when I reboot.
"sudo pacman -Syu --ignore nvidia-utils"
[edit2]
WARNING:
Becareful, nvidia-libgl also got upgrade to 321.30. Typing in what I suggested with result in X not starting. You also have to ignore nvidia-libgl.
If you already messed up (sorry) you can run "sudo pacman -U /var/cache/pacman/pkg/nvidia-libgl {version.extensions}" to downgrade.
Last edited by nstgc (2015-08-01 00:16:36)
Offline
Hi,
I'm trying to update a machine which I haven't updated in a time..
It seems that nvidia (352.21-4) wants nvidia-utils, which is 352.30-1...
I have installed:
local/nvidia 340.32-1
local/nvidia-libgl 340.32-1
local/nvidia-utils 340.32-1
local/opencl-nvidia 340.32-1
local/linux 3.16.1-1 (base)When I try to ignore the dependency, pacman complains nvidia needs linux < 3.7...
resolving dependencies...
warning: cannot resolve "nvidia-utils=352.21", a dependency of "nvidia"
:: The following package cannot be upgraded due to unresolvable dependencies:
nvidia
:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires linux<3.17
:: nvidia: requires nvidia-utils=340.32I could force the whole thing but I don't really want to...
How do I solve this?
Offline
Please search before posting...
Merging with the existing thread.
Offline
@jasonwryan
Sorry, I had searched on google only.
Offline
Just a guess, Oliver, but I would try the rollback machine. I keep my system up-to-date so I have plenty of old packages in cache, but you wouldn't have this luxury. You may want to upgrade to something not quite so recent. Perhaps you could look to see the last time you ran a successful system upgrade and then upgrade to what was current a month after that. Say you last ran pacman -Syu November 6th, upgrade to what whatever was current December 6th, then January 6th, and so on.
Offline
@nstgc
Nothing to rollback to... I'm using the last versions I updated to at the time (kernel 3.16.1-1)
I ended up doing
sudo pacman -Syu --ignore nvidia --ignore nvidia-utils --ignore linux --ignore nvidia-libgl --ignore opencl-nvidiato update the rest of the system (595 packages
.. 9 pacnew files)
We'll probably have to wait for the 352.30 nvidia package...
Offline
I've edited the PKGBUILD of the package 'nvidia',which can be found with the whole tarball here:
https://www.dropbox.com/s/f794fbee99axj … ar.gz?dl=0.
Once you have downloaded that,build that package as you would as if you are building a package in the aur. Information can be found at the relevent wiki page:
https://wiki.archlinux.org/index.php/Ar … he_package
The updated package contains a edited PKGBUILD with the links to the updated files and thier respected md5sum checks.
Now I can use gnome with hardware acceleration!
WARNING:
This edited package is UNOFFICIAL and could cause problems that I am not experiancing,do not depend on this.
--
Marking as SOLVED.
EDIT:To clarify,this is a temporary fix that should be officially fixed soon.
EDIT 2:Has been officially fixed,no need to use this fix.
Last edited by Ahad12 (2015-08-01 02:09:49)
Offline
Will be fixed very shortly.
Offline
Thanks!
Updating now.
Though I got the warning:
warning: dependency cycle detected:
warning: nvidia-libgl will be installed before its nvidia-utils dependency
Packages (5) linux-4.1.3-1 nvidia-352.30-1 nvidia-libgl-352.30-1
nvidia-utils-352.30-1 opencl-nvidia-352.30-1Offline