Public bug reported:

First, I added this PPA via the usual procedure:
$ sudo add-apt-repository ppa:graphics-drivers/ppa

Below there is the NVidia chipset I want to install the drivers for:
$ lspci | grep -i --color 'vga\|3d\|2d'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated 
Graphics Controller (rev 0b)
04:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / 
GT 620M/625M/630M/720M] (rev a1)

However, even after installing the PPA, apt still prefers to install the
version from the Ubuntu repos, see log below. After some discussion on
the #kubuntu IRC channel, I have been advised this is not the expected
behaviour and I have been encouraged to file an issue here. An option
was the Ubuntu repos listed this chipset incorrectly, but I don't have
enough expertise on this field to confirm that.

$ apt-cache policy nvidia-driver-440
nvidia-driver-440:
  Installed: (none)
  Candidate: 440.82+really.440.64-0ubuntu6
  Version table:
     440.82+really.440.64-0ubuntu6 500
        500 http://es.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages
     440.82-0ubuntu0~0.20.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal/main 
amd64 Packages

Forcing the PPA version leads to broken packages, as shown below:

$ sudo apt install nvidia-driver-440=440.82-0ubuntu0~0.20.04.1
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:
 nvidia-driver-440 : Depends: libnvidia-gl-440 (= 440.82-0ubuntu0~0.20.04.1) 
but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: nvidia-dkms-440 (= 440.82-0ubuntu0~0.20.04.1)
                     Depends: nvidia-kernel-source-440 (= 
440.82-0ubuntu0~0.20.04.1) but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-compute-440 (= 
440.82-0ubuntu0~0.20.04.1) but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-extra-440 (= 440.82-0ubuntu0~0.20.04.1) 
but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: nvidia-compute-utils-440 (= 
440.82-0ubuntu0~0.20.04.1) but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-decode-440 (= 
440.82-0ubuntu0~0.20.04.1) but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-encode-440 (= 
440.82-0ubuntu0~0.20.04.1) but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: nvidia-utils-440 (= 440.82-0ubuntu0~0.20.04.1) 
but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: xserver-xorg-video-nvidia-440 (= 
440.82-0ubuntu0~0.20.04.1) but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-cfg1-440 (= 440.82-0ubuntu0~0.20.04.1) 
but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-ifr1-440 (= 440.82-0ubuntu0~0.20.04.1) 
but 440.82+really.440.64-0ubuntu6 is to be installed
                     Depends: libnvidia-fbc1-440 (= 440.82-0ubuntu0~0.20.04.1) 
but 440.82+really.440.64-0ubuntu6 is to be installed
                     Recommends: nvidia-settings but it is not going to be 
installed
                     Recommends: nvidia-prime (>= 0.8) but it is not going to 
be installed
                     Recommends: libnvidia-compute-440:i386 (= 
440.82-0ubuntu0~0.20.04.1)
                     Recommends: libnvidia-decode-440:i386 (= 
440.82-0ubuntu0~0.20.04.1)
                     Recommends: libnvidia-encode-440:i386 (= 
440.82-0ubuntu0~0.20.04.1)
                     Recommends: libnvidia-ifr1-440:i386 (= 
440.82-0ubuntu0~0.20.04.1)
                     Recommends: libnvidia-fbc1-440:i386 (= 
440.82-0ubuntu0~0.20.04.1)
                     Recommends: libnvidia-gl-440:i386 (= 
440.82-0ubuntu0~0.20.04.1)
E: Unable to correct problems, you have held broken packages.

-----------------------
I never could get NVidia drivers to work on this computer when using 18.04 LTS. 
In fact, I switched to a fresh install of 20.04 LTS yesterday, where the 
'Install third-party drivers' checkbox installed nvidia-driver-340. However, 
even on a fresh install only a black screen appeared (terminal could still be 
accessed via ctrl+alt+f2), as it also happened on 18.04 LTS. So the only way to 
get the system to work is not to install any third-party drivers (I did another 
fresh install) and use the integrated graphics chipset instead. This is fine 
most of the time, except from video games, of course.

** Affects: nvidia-graphics-drivers-440 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876522

Title:
  apt chooses Ubuntu repo instead of nvidia-graphics PPA

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-440/+bug/1876522/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to