There is a workaround:

as log suggests I've added -force option to dkms command

In one case system was calling autoinstall, so I added --force to line
calling dkms autoinstall inside /usr/lib/dkms/dkms_autoinstaller

On the other occasion system wanted to build modules for old kernel
using dkms install and I had to add --force option at the end of script
/usr/lib/dkms/common.postinst (in the line calling dkms install).

In both case it forced replacement of module file and installation
completed successfully. Still, it's not good default (If anyone try to
do the same don't forget to revert the changes in scripts afterwards).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130701

Title:
  nvidia dkms configuration fails - exit code 6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2130701/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to