Please, try fixing the broken packages and updating your system first by running the following command in the terminal:
sudo dpkg --configure -a && sudo apt update --fix-missing && sudo apt install -f && sudo apt full-upgrade
After that, please reboot your system and install your drivers using the ubuntu-drivers
tool by running the following command in the terminal:
sudo ubuntu-drivers autoinstall
Then finally, please reboot your system.
If the first command fails to fix your broken packages, please follow the instructions in this answer then try installing your drivers afterwords.
sudo dpkg --configure -a && sudo apt update --fix-missing && sudo apt install -f && sudo apt full-upgrade
first then try installing the driver. – Raffa Aug 21 '19 at 23:01