2

I have a "HP ZBook 15v G5" which I'm trying to get the "recommended" Nvidia graphics drivers working with.

Running the following suggests nvidia-driver-455 are the recommended ones:

➜  ~ ubuntu-drivers devices           
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001CBCsv0000103Csd0000847Bbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP107GLM [Quadro P600 Mobile]
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-455 - third-party free recommended
driver   : nvidia-driver-440-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-450 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

But when I try to install them automatically I get:

➜  ~ sudo ubuntu-drivers autoinstall            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 linux-modules-nvidia-455-generic-hwe-20.04 : Depends: nvidia-kernel-common-455 (<= 455.38-1) but 455.45.01-0ubuntu0.20.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Not sure if it's worth noting I did upgrade from Ubuntu 18.04 but hadn't got them working on that either.

Apologies if this is obvious, don't have much experience with graphics drivers on Ubuntu yet.

Appears I'm using the Nouveau display drivers at the moment, and I'm trying to update them to the Nvidia ones because occasionally my second monitor will go black for 10 or 15 seconds when switching applications, and then come back again: Drivers Screen

3
  • does this help (itsfoss.com/held-broken-packages-error) Dec 6, 2020 at 1:56
  • Hmm, looks like sudo apt-get install nvidia-driver-440 may have got it working. Going to try it for a while before putting this as an official answer.
    – BT643
    Dec 6, 2020 at 2:15
  • Am in the same situation with a Lenovo P50. Upgraded from 18.04 LTS to 20.04 LTS. The upgrade failed but was resolved (dependency issue, resolved in CLI) but has worked for months. This nvidia issue occured just now, and I have cleaned up some libsane dependencies, but nvidia still fails and which package blocking is now unclear. Your fix in comments did not resolve my issue. ymmv...
    – sastorsl
    Dec 28, 2020 at 8:34

1 Answer 1

0

After clearing other "held packages", removing other possible issues (such as libsane) the nvidia-driver-455 still failed on unmet dependencies.

Reinstalling the nvidia drivers solved the issue in the end.

sudo apt-get remove nvidia*
shutdown -r now

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo ubuntu-drivers autoinstall

shutdown -r now

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .