Where did you get that Nvidia DMKS driver from? I don't believe that's an Ubuntu provided DKMS and thus unsupported. You need to remove it to get rid of the error.
But then again our Nvidia story is sub-optimal. What do you get for: $ dpkg -l | grep nvidia -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2092349 Title: package linux-headers-6.8.0-49-generic (not installed) failed to install/upgrade: installed linux-headers-6.8.0-49-generic package post-installation script subprocess returned error exit status 11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2092349/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs