Comment 0 for bug 2001881

Revision history for this message
jeremyszu (os369510) wrote :

The nvidia driver won't be upgraded but kernel which makes no nvidia driver after reboot to latest kernel.

$ sudo apt upgrade --dry-run
...
The following NEW packages will be installed:
  linux-headers-5.15.0-56-generic linux-hwe-5.15-headers-5.15.0-56 linux-image-5.15.0-56-generic linux-modules-5.15.0-56-generic linux-modules-extra-5.15.0-56-generic
The following packages have been kept back:
  libnvidia-cfg1-515 libnvidia-compute-515 libnvidia-decode-515 libnvidia-encode-515 libnvidia-extra-515 libnvidia-fbc1-515 libnvidia-gl-515
  linux-modules-nvidia-515-generic-hwe-20.04 nvidia-compute-utils-515 nvidia-driver-515 nvidia-kernel-common-515 nvidia-kernel-source-515 nvidia-utils-515
  xserver-xorg-video-nvidia-515
...

$ apt show linux-modules-nvidia-515-5.15.0-53-generic
Package: linux-modules-nvidia-515-5.15.0-53-generic
Version: 5.15.0-53.59~20.04.1+1
...
Depends: ... nvidia-kernel-common-515 (<= 515.76+really.515.65.01-1), nvidia-kernel-common-515 (>= 515.76+really.515.65.01)

---

$ apt policy nvidia-kernel-common-515
nvidia-kernel-common-515:
  Installed: 515.76+really.515.65.01-0ubuntu0.20.04.1
  Candidate: 515.86.01-0ubuntu0.20.04.1
  Version table:
     515.86.01-0ubuntu0.20.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages
 *** 515.76+really.515.65.01-0ubuntu0.20.04.1 100
        100 /var/lib/dpkg/status

Thus, apt resolver will try to remove "linux-modules-nvidia-515-5.15.0-53-generic" which is not allowed in `apt upgrade` as well as "GUI upgrade notification".

---

[Environment]
system-manufacturer: HP
system-product-name: HP ZBook Fury 16 G9 Mobile Workstation PC
bios-version: U96 Ver. 01.03.02
CPU: 12th Gen Intel(R) Core(TM) i9-12950HX
GPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a60] (rev 01)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2438] (rev a1)