How use "yum" to install nvidia driver from atrpms?

Axel Thimm Axel.Thimm at ATrpms.net
Thu Nov 18 17:24:39 UTC 2004


On Thu, Nov 18, 2004 at 06:11:42PM +0100, Axel Thimm wrote:
> yum install kernel-module-nvidia-graphics6629-`uname -r` nvidia-graphics6629

On Thu, Nov 18, 2004 at 06:15:35PM +0100, Alexander Dalloz wrote:
> The devel package is not needed for just using 2D/3D acceleration usage.
> 
> yum install nvidia-graphics6629
> 
> The rest is done by yum.

This can sometime go wrong, because the nvidia-graphics6629 requires
_some_ kernel-module-nvidia-graphics6629 to be installed, but there
are more than one per arch (at least two per supported kernel, non-smp
and smp).

So sometimes yum/apt start suggesting installing a kernel along with
the requested kernel module rpm.

This cannot be easily solved (imagine a system with multiple kernels
installed). yum/apt could default to the running kernel, and there is
indeed some extension to apt that allows this (keywords are: Panu
and AllowDuplicates).

So apt/yum need to be additionally told about which kernel to install
kernel-module-foo like

apt-get install kernel-module-foo-<kernel> foo

if <kernel> is the running kernel then `uname -r` (like above) is enough.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041118/866e6171/attachment-0001.sig>


More information about the fedora-list mailing list