I just installed Ubuntu 18.04.5 LTS on my workstation along with the recommended nvidia drivers, where I used sudo ubuntu-drivers autoinstall
to do so, and ubuntu-drivers devices
recommends installing nvidia-driver-450-server - distro non-free recommended
.
However, after installing the recommended driver, my package system is broken. When I try to update the software using the "Software updater", I get the following message:
The package system is broken. Check if you are using third party
repositories. If so disable them, since they are a common source of
problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies: libnvidia-gl-450: Depends: libnvidia-common-450 but it is not installed
Depends: libgcc1 (>= 1:4.2) but 1:8.4.0-1ubuntu1~18.04 is installed
libnvidia-gl-450:i386: Depends: libnvidia-common-450 but it is not installed
A forced installation of the package using sudo apt-get install -f libnvidia-common-450
yields the following error:
dpkg: error processing archive /var/cache/apt/archives/libnvidia-common-450_450.80.02-0ubuntu0.18.04.2_all.deb
(--unpack):
trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.80.02-key-documentation',
which is also in package libnvidia-common-450-server 450.80.02-0ubuntu0.18.04.3
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-common-450_450.80.02-0ubuntu0.18.04.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
And nothing is resolved. Trying to reconfigure the package using sudo dpkg --configure -a
says that the package libnvidia-common-450 is not installed
. I'm not sure where to go next, and any advice would be greatly appreciated.