PC keeps crashing when I'm trying to fix dpkg by running dpkg --configure -a
It crashed and went to basic video so I tried to downgrade the nvidia driver to 460 (495 has been working fine, didn't update anything else) but apt is locked and everytime I try to fix it it crashes; black screen.
I've tried from the recovery console as root, same thing.
RTX 2060
Ubuntu 20.04.3
There isn't anything in the logs that I can see. Temperatures seem fine.
This is what is says on the screen when it crashes:
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-5.4.0-91-generic
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Removing old nvidia-495.46 DKMS files...
------------------------------
Deleting module version: 495.46
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-495.46 DKMS files...
Building for 5.4.0-91-generic 5.4.0-92-generic
Building for architecture x86_64
Building initial module for 5.4.0-91-generic
Thanks in advance.