apparently the problem is the lack the xorg-video-abi-24 in the xserver-xorg-core package as it was pointed out as the grep command shows, only the video-abi-25 is provided in ubuntu 22 , but in order to install cuda 10.2 (or older), the version 24 is needed.
$ apt-cache show xserver-xorg-core | grep -E '(Package|Version|Provides)' Package: xserver-xorg-core Version: 2:21.1.3-2ubuntu2.5 Provides: xorg-input-abi-24, xorg-video-abi-25, xserver-xorg-video-modesetting Package: xserver-xorg-core Version: 2:21.1.3-2ubuntu2 Provides: xorg-input-abi-24, xorg-video-abi-25, xserver-xorg-video-modesetting -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1999629 Title: xorg-core package does not provide xorg-video-abi under kinetic(22.10), which breaks Nvidia CUDA for graphics cards with graphics drivers version 510 and below To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-510/+bug/1999629/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp