So before I format my hard drive and do a clean install (just like I did 6 months ago) is there a magical command that can fix this problem? I should point out the Nvidia driver is working great (nvidia-driver-418), I can play native games and windows-only games just fine right now, but:
sudo apt autoremove
the following packages have unmet dependencies.
libnvidia-decode-418 : Depends: libnvidia-compute-418 (= 418.56-0ubuntu1) but it is not installed
libnvidia-decode-418:i386 : Depends: libnvidia-compute-418:i386 (= 418.56-0ubuntu1) but it is not installed
libnvidia-gl-418 : Depends: libnvidia-compute-418 but it is not installed
nvidia-compute-utils-418 : Depends: libnvidia-compute-418 but it is not installed
nvidia-driver-418 : Depends: libnvidia-compute-418 (= 418.56-0ubuntu1) but it is not installed
Recommends: libnvidia-compute-418:i386 (= 418.56-0ubuntu1)
nvidia-utils-418 : Depends: libnvidia-compute-418 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
And then...
sudo apt --fix-broken install
dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-410_418.56-0ubuntu1_amd64.deb (--unpack):
package libnvidia-compute-410:amd64 (418.56-0ubuntu1) with field 'Multi-Arch: no' is not co-installable with libnvidia-compute-410 which has multiple installed instances
dpkg: regarding .../libnvidia-compute-418_418.56-0ubuntu1_amd64.deb containing libnvidia-compute-418:amd64:
libnvidia-compute-418 conflicts with libcuda-10.0-1
libnvidia-compute-410:amd64 provides libcuda-10.0-1 and is present and installed.
dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-418_418.56-0ubuntu1_amd64.deb (--unpack):
conflicting packages - not installing libnvidia-compute-418:amd64
dpkg: regarding .../libnvidia-compute-418_418.56-0ubuntu1_i386.deb containing libnvidia-compute-418:i386:
libnvidia-compute-418:i386 conflicts with libcuda-10.0-1
libnvidia-compute-410:amd64 provides libcuda-10.0-1 and is present and installed.
dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-418_418.56-0ubuntu1_i386.deb (--unpack):
conflicting packages - not installing libnvidia-compute-418:i386
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-compute-410_418.56-0ubuntu1_amd64.deb
/var/cache/apt/archives/libnvidia-compute-418_418.56-0ubuntu1_amd64.deb
/var/cache/apt/archives/libnvidia-compute-418_418.56-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Every sudo apt command I've tried just won't do anything because of the broken package dependencies.
So, is there a sudo remove-all-the-broken-stuff command?
I did install some CUDA packages a while back, but it turns out I didn't need to. I just need whatever Nvidia graphics driver is supposed to be installed with Ubuntu 19.04 right now (April 2019) and none of the non-essential Nvidia/CUDA packages. How might I accomplish this without formatting the hard drive?
UPDATE: Looks like a confirmed bug