This may be due to a bug with "dkms remove": the warnings at the end
suggest an inconsistent state.

# dkms remove nvidia-legacy-390xx/390.147 -k 5.16.0-1-amd64
Module nvidia-legacy-390xx-390.147 for kernel 5.16.0-1-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

nvidia-legacy-390xx.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.16.0-1-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-legacy-390xx-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.16.0-1-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-legacy-390xx-drm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.16.0-1-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-legacy-390xx-uvm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.16.0-1-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

do_depmod 5.16.0-1-amd64
depmod: WARNING: could not open modules.order at /lib/modules/5.16.0-1-amd64: 
No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/5.16.0-1-amd64: 
No such file or directory

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to