I believe the problem is that you're trying to use two different methods
to install the Nvidia modules - the signed module package, and the DKMS
package.

Then, you get an error from the repetition:
Error! This module/version has already been built on: 7.0.0-28-generic
Directory /var/lib/dkms/nvidia/580.173.02/7.0.0-28-generic/x86_64 already 
exists.

In other words, you should not have both of these packages installed:
linux-modules-nvidia-580-generic-hwe-24.04:amd64 (7.0.0-28.28~24.04.1+3)
nvidia-dkms-580:amd64 (580.173.02-0ubuntu0.24.04.1)


** Package changed: ubuntu => nvidia-graphics-drivers-580 (Ubuntu)

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

Title:
  package linux-image-7.0.0-28-generic 7.0.0-28.28~24.04.1 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
  return code 11

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


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

Reply via email to