nvidia package won't be upgraded in 'apt upgrade' because of removal action.

Bug #2001881 reported by jeremyszu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
Critical
Unassigned
linux-restricted-modules (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

[Additional information]
Root cause same as https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/1999996
Related workaround on oem kernel: https://bugs.launchpad.net/oem-priority/+bug/1997505

jeremyszu (os369510)
tags: added: oem-priority originate-from-2000224 stella
description: updated
jeremyszu (os369510)
Changed in oem-priority:
importance: Undecided → Critical
status: New → Confirmed
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.