I can confirm the same issue here. After updating linux-generic to 6.2.0.25.25 my screen went black because linux-modules-nvidia-535-6.2.0-25-generic does not exist and hence was not installed.
I went back from nvidia-driver-535 to nvidia-driver-525 and now I can safely apply updates to my system; apt will not update automatically nvidia-driver-525 to nvidia-driver-535 but will update linux-generic to newer versions. Here are the relevant packages: https://packages.ubuntu.com/lunar-updates/linux-modules-nvidia-525-generic currently depends on https://packages.ubuntu.com/lunar-updates/linux-modules-nvidia-525-6.2.0-25-generic but https://packages.ubuntu.com/lunar-updates/linux-modules-nvidia-535-generic currently depends on https://packages.ubuntu.com/lunar-updates/linux-modules-nvidia-535-6.2.0-24-generic and https://packages.ubuntu.com/lunar-updates/linux-modules-nvidia-535-6.2.0-25-generic does not exist. So basically the user must choose between a slightly older Linux kernel (6.2.0-24.24) and or a slightly older NVIDIA driver version (525), keeping in mind that apt will automatically install newer versions of linux-generic. This is a bit unfortunate because the latest NVIDIA driver version 535 brings some improvements with Wayland and removed annoying glitches in one application I use daily, Beyond Compare. I will have to be patient I guess. https://9to5linux.com/nvidia-535-54-03-linux-graphics-driver-released-with-better-wayland-support -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-restricted-modules in Ubuntu. https://bugs.launchpad.net/bugs/2027914 Title: missing nvidia kernel module for generic kernel (linux-objects- nvidia-535-6.2.0-25-generic) Status in linux-restricted-modules package in Ubuntu: Confirmed Bug description: For latest generic kernel for Ubuntu 23.04 there in no package of kernel module. Present is for previous kernel: # aptitude search linux-objects-nvidia-535.*generic i A linux-objects-nvidia-535-6.2.0-24-generic - Linux kernel nvidia modules for version 6.2.0-24 (objects) p linux-objects-nvidia-535-open-6.2.0-24-generic - Linux kernel nvidia modules for version 6.2.0-24 (objects) p linux-objects-nvidia-535-server-6.2.0-24-generic - Linux kernel nvidia modules for version 6.2.0-24 (objects) p linux-objects-nvidia-535-server-open-6.2.0-24-generic - Linux kernel nvidia modules for version 6.2.0-24 (objects) There is no package for 6.2.0-25 kernel. So after upgrade to new kernel - gpu isn't working, as the module is missing. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2027914/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp