Solving dpkg: error processing package nvidia in Ubuntu 18.04
Hi! This Tip Try to Solve dpkg: error processing package nvidia in Ubuntu 18.04 Bionic LTS GNU/Linux.
This Issue is quite often appearing on some Graphics Driver Installation as for the NVIDIA Graphics Cards.
Fixing System
Then to Solve dpkg: error processing package nvidia in Ubuntu 18.04
Run:sudo apt install --reinstall linux-headers-$(uname -r)
And after running this Command the Kernel should be successfully Recompiling the needed Modules.
Or else see How to Install a New Kernel.
Thanks to: askubuntu.com #890712