[Mageia-dev] Can't install nvidia-cuda update
Anssi Hannula
anssi at mageia.org
Fri Mar 9 10:58:11 CET 2012
09.03.2012 10:42, JA Magallón kirjoitti:
> It looks like some package does not provide libcuda (the library itself is
> there):
>
> Some requested packages cannot be installed:
> nvidia-cuda-toolkit-4.1.28-1.mga2.nonfree.x86_64 (due to unsatisfied
> libcuda.so.1()(64bit))
> nvidia-cuda-toolkit-devel-4.1.28-1.mga2.nonfree.x86_64 (due to
> unsatisfied libcuda.so.1)
> Continue installation anyway? (Y/n)
>
> werewolf:~# rpm -qf /usr/lib64/nvidia-current/libcuda.so.1
> nvidia-current-cuda-opencl-295.20-2.mga2.nonfree
> werewolf:~# rpm -q --provides nvidia-current-cuda-opencl
> nvidia-current-cuda = 295.20-2.mga2.nonfree
> nvidia-current-cuda-opencl = 295.20-2.mga2.nonfree
> nvidia-current-cuda-opencl(x86-64) = 295.20-2.mga2.nonfree
Yeah, library provides are excluded on purpose in the proprietary driver
packages, to avoid any "unrelated" packages to depend on them.
Not sure if libcuda.so.1 should be an exception or not, it is again
quite a special case...
In any case, nvidia-cuda-toolkit already contains:
%define _requires_exceptions libcuda.so.1\\|python(abi)
My first guess would be that it doesn't work since it is in the middle
of the package definition, and it should be either moved to the
beginning of the .spec file or made %global. Alternatively something has
been broken in rpm-mageia-setup-build.
--
Anssi Hannula
More information about the Mageia-dev
mailing list