I was running a Ubuntu 18.04 installation with NVIDIA 440.59 proprietary driver (GTX 970) up to a few minutes ago. Then I decided to upgrade manually to 440.64 even if apt kept it back, and now Steam does not start anymore because, as I discovered later, it relies on NVIDIA 32-bit libraries.
Problem is, installing the OpenGL 32-bit libraries breaks the other packages:
-@-:~$ sudo apt-get install libnvidia-gl-440:i386 -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libnvidia-cfg1-440 libnvidia-decode-440 libnvidia-encode-440 libnvidia-fbc1-440 libxnvctrl0 nvidia-compute-utils-440 nvidia-dkms-440
nvidia-kernel-common-440 nvidia-kernel-source-440 nvidia-prime nvidia-settings nvidia-utils-440 screen-resolution-extra xserver-xorg-video-nvidia-440
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
libnvidia-gl-440 libnvidia-ifr1-440 nvidia-driver-440 // <====
The following NEW packages will be installed:
libnvidia-gl-440:i386
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Remv nvidia-driver-440 [440.64.00-0ubuntu1]
Remv libnvidia-ifr1-440 [440.64.00-0ubuntu1]
Remv libnvidia-gl-440 [440.64.00-0ubuntu1]
Inst libnvidia-gl-440:i386 (440.64-0ubuntu0~0.18.04.2 Proprietary GPU Drivers:18.04/bionic [i386])
Conf libnvidia-gl-440:i386 (440.64-0ubuntu0~0.18.04.2 Proprietary GPU Drivers:18.04/bionic [i386])
I have to assume that this was not happening with 440.59 since I was able to launch steam and run my OpenGL/CUDA programs. Any way to force it to install those libraries? Alternatively, is it possible to revert to 440.59, or do I have to downgrade to 435/430? The drivers were installed from the graphics-driver ppa.
apt-get
holds back packages you can get it to install by usingsudo apt-get dist-upgrade
it will then install the with held packages. – TrailRider Mar 28 '20 at 17:32sudo apt-get purge nvidia*
then reboot and thensudo ubuntu-drivers install
if you do it this way you want to boot into your oldest kernel to ensure that the driver is installed in all the kernels instead of just the newest one. ---- you could trysudo ubuntu-drivers install
without rebooting after purging nvidia but idk if that will work as expected – TrailRider Mar 28 '20 at 17:36