[solved]modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='off'

exute sudo modprobe nvidia error: modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name=‘off’

3424664391-1733707210778801281.png

02615-oak8kunndy9.png

Nvidia对他们的安装做了一些改动。

1044494260-1733707211333486553.png

现在,Nvidia库位于/usr/lib/x86_-linux-gnublacklist-nvidia.conf文件位于/lib/modprobe.d/中 在blacklist-nvidia.conf中,仍然存在未经注释的 alias nvidia off

注释掉

alias nvidia off

后,如图所示:

3300850820-1733707211513410277.png

$ cat /lib/modprobe.d/blacklist-nvidia.conf# Do not modify# This file was generated by nvidia-primeblacklist nvidiablacklist nvidia-drmblacklist nvidia-modeset#alias nvidia offalias nvidia-drm off

参考链接 :

-https://askubuntu.com/questions/1084829/modprobe-nvidia-throws-error-could-not-insert-off/1085962