Thanks for the tip @merzbach.
The whole upgrade process is a nightmare.
as of April 17, the same fix works for version 440.64 on ubuntu 16.04:
Thank you very much @merzbach for the quickest solution!
You can also put the 16.04 broken package on hold to prevent apt to try to upgrade it every time
echo "nvidia-settings hold" | sudo dpkg --set-selections
Worked for me great for Ubuntu 16! Thanks!
Still the same (same bug, same fix) for nvidia-settings_450.36.06-0ubuntu1_amd64.
I finally fixed this on 16.04 by rolling back to version 418.
Wasn’t working even with the same version of nvidia-450
and nvidia-settings
(450.51.06-0ubuntu1), or nvidia-440
and nvidia-settings
(440.95.01-0ubuntu1).
So, what worked for me was:
sudo apt install nvidia-418-dev nvidia-settings=418.152.00-0ubuntu1 cuda-drivers=418.152.00-1
sudo apt-mark hold nvidia-settings cuda-drivers
It seems finally fixed with the last release 460.32.03
.