Problem with apt and nvidia 450 on ubuntu 20.04

(This bug is a replica of Problem with apt and nvidia 440 on ubuntu 20.04).

Installing nvidia-driver-450 throws the following error on Ubuntu 20.04;

sudo apt-get install nvidia-driver-450
Preparing to unpack .../03-libnvidia-compute-450_450.36.06-0ubuntu1_amd64.deb ...
Unpacking libnvidia-compute-450:amd64 (450.36.06-0ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-CThYsd/03-libnvidia-compute-450_450.36.06-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/', which is also in package libnvidia-extra-440:amd64 440.82+really.440.64-0ubuntu6
 	"trying to overwrite '/usr/lib/x86_64-linux-gnu/"

kim-kim found a workaround to this bug;

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libnvidia-compute-450_450.36.06-0ubuntu1_amd64.deb
sudo apt --fix-broken install

Today Sept 28th, 2020 I did an update via the ubunu update tool. Once done the graphics no longer works properly the resolution I get is 640x320.

The solution that works is to go to the NVIDIA Web page and download the 450 driver. Than you need to install that driver with sudo sh

After the next reboot, your screen will be good again. I checked on also the 32 bit option and recreated the X settings.

It would be nice to work with ubuntu to make sure this does not happen.

sudo sh
sudo restart -h now

I had a somewhat related error with an upgrade to 450.
Linux host 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Description: Ubuntu 20.04.1 LTS, Release: 20.04, Codename: focal
nvidia-smi ā€¦ NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0

Error message after initial(failed) upgrade and subsequent atttempts of sudo apt-get install nvidia-driver-450:
ā€œpk-client-error-quark: The following packages have unmet dependencies: libllvm9: Depends: libatomic1 (>=4.8) but is not going to be installed ā€¦ā€

The following failed:
sudo apt --fix-broken install, sudo ubuntu-drivers autoinstall
sudo apt-get remove nvidia-driver-450, sudo apt-get remove nvidia-driver-450-server, sudo apt install nvidia-driver-440

This seems to have worked (for now):
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libnvidia-common-450-server_450.80.02-0ubuntu0.20.04.3_all.deb
sudo apt --fix-broken install, sudo reboot now