GF119 [NVS 315] Drivers for Ubuntu

I used this hardware setup for months previously. However, now I can’t get the drivers again.

$ ubuntu-drivers devices

vendor   : NVIDIA Corporation
model    : GF119 [NVS 315]
driver   : nvidia-driver-390 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

Tinkering with the drivers in recovery mode’s root

$ sudo apt-get purge nvidia*
$ sudo apt-get purge libnvidia*


$ sudo apt-get update
$ sudo ubuntu-drivers autoinstall

Errors were encountered while processing:
  nvidia-dkms-390
  nvidia-driver-390
E: Sub-process /usr/bin/dpkg returned an error code (1)


$ sudo apt-get install nvidia-dkms-390

see logs at /var/crash/nvidia-kernel-source-390.0.crash
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here is a gist of that crash file. I see a lot of type errors and warnings, so maybe the driver itself is bugged?

I also tried downloading the driver from the nvidia websites:

And found that the output contained lots of type errors when I tried to run it

The 390 driver is out of support and you got upgraded to kernel 6.5.
Please return to the GA kernel.