Hi.

On Sun, 19 Jun 2022 22:57:58 +0100 Barry Scott wrote:
>> Thus "dnf remove kmod-nvidia-$(uname -r)" properly removes the kernel
>> modules.

> The step I had not known about is that the kmod-nvidia is the output
> of akmods comilation of the code in akmod-nvidia.

Beware, the name of the generated RPM from compiling akmod-nvidia is
kmod-nvidia-KERNEL_VERSION. kmod-nvidia is the RPM provided by rpmfusion:
it is useless to suppress it.

See for example:

dnf --color=never list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                        3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates
kmod-nvidia.x86_64                         3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates
kmod-nvidia-5.17.13-300.fc36.x86_64.x86_64 3:510.68.02-2.fc36 @@commandline 
kmod-nvidia-5.17.8-300.fc36.x86_64.x86_64  3:510.68.02-2.fc36 @@commandline 
nvidia-settings.x86_64                     3:510.68.02-1.fc36 
@so-rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64                 3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64            3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64           3:510.68.02-2.fc36 
@so-rpmfusion-nonfree-updates

rpm -qi kmod-nvidia-5.17.13-300.fc36.x86_64.x86_64
Name        : kmod-nvidia-5.17.13-300.fc36.x86_64
Epoch       : 3
Version     : 510.68.02
Release     : 2.fc36
Architecture: x86_64
Install Date: Mon 13 Jun 2022 07:16:49 PM CEST
Group       : Unspecified
Size        : 37073429
License     : Redistributable, no modification permitted
Signature   : (none)
Source RPM  : nvidia-kmod-510.68.02-2.fc36.src.rpm
Build Date  : Mon 13 Jun 2022 07:15:47 PM CEST
Build Host  : gin
URL         : http://www.nvidia.com/
Summary     : nvidia kernel module(s) for 5.17.13-300.fc36.x86_64
Description :
This package provides the nvidia kernel modules built for the Linux
kernel 5.17.13-300.fc36.x86_64 for the x86_64 family of processors.

-- 
francis
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to