...
installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
...
Legacy GPUs only supported by legacy nVidia drivers. DKMS may not be compiled for the newest Linux kernels.
At this point apt cannot finish configuring nvidia-driver-*
and nvidia-dkms-*
. Solution is to patch the driver as explained here.
sudo apt install wget patch
cd ~
mkdir nvidia-patch
cd nvidia-patch
wget -O inttf-nvidia-patcher.sh https://nvidia.if-not-true-then-false.com/patcher/inttf-nvidia-patcher.sh
chmod +x inttf-nvidia-patcher.sh
./inttf-nvidia-patcher.sh -v 390.157
./NVIDIA-Linux-x86_64-340.108-patched-kernel-6.5.run