Screwed up Nvidia drivers on Ubuntu

Soldato
Joined
1 Nov 2007
Posts
7,098
Location
England
I was trying to run through the Lutris tutorial but I stupidly tried to install older drivers. These are the instructions I followed:

https://github.com/lutris/lutris/wiki/Installing-drivers

This command is the one causing problems:

sudo apt install nvidia-driver-430 libnvidia-gl-430 libnvidia-gl-430:i386

I've removed all of those packages in the hopes that it would take me back to a working system but I get the following error with graphics packages:

update-initramfs: Generating /boot/initrd.img-5.3.0-40-generic
Errors were encountered while processing:
nvidia-dkms-430
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have no idea how to fix this. All I want is the latest proprietory Nvidia drivers installed on my Laptop. Any help is appreciated.
 
why didnt you just go to software/update/additional drivers
no commands needed just click on stuff
try resetting package database
sudo dpkg --configure -a
 
Back
Top Bottom