I did a test on focal platforms, I found this issue was not fixed yet.
By default user used oem kernel which is set by oem-meta packages, it will be ok, but if the user select the generic kernel, then it will meet black screen issue cause of missing nvidia driver.
Removing linux-headers-oem-20.04d (5.15.0.73.80~20.04.34) ...
Packages that were successfully auto-removed: linux-headers-oem-20.04d linux-image-oem-20.04d
Packages that are kept back:
Package libnvidia-cfg1-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-compute-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-decode-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-encode-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-extra-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-fbc1-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-gl-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package linux-modules-nvidia-510-oem-20.04d is kept back because a related package is kept back or due to local apt_preferences(5).
Package nvidia-compute-utils-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package nvidia-driver-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package nvidia-kernel-common-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package nvidia-kernel-source-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package nvidia-utils-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package xserver-xorg-video-nvidia-510 is kept back because a related package is kept back or due to local apt_preferences(5).
I did a test on focal platforms, I found this issue was not fixed yet.
By default user used oem kernel which is set by oem-meta packages, it will be ok, but if the user select the generic kernel, then it will meet black screen issue cause of missing nvidia driver.
Start-Date: 2023-05-31 06:04:11 unattended- upgrade -v 5.15-headers- 5.15.0- 73:amd64 (5.15.0- 73.80~20. 04.1, automatic), linux-headers- generic- hwe-20. 04:amd64 (5.15.0. 73.80~20. 04.34, automatic), linux-modules- extra-5. 15.0-73- generic: amd64 (5.15.0- 73.80~20. 04.1, automatic), linux-image- generic- hwe-20. 04:amd64 (5.15.0. 73.80~20. 04.34, automatic), linux-generic- hwe-20. 04:amd64 (5.15.0. 73.80~20. 04.34, automatic), linux-modules- 5.15.0- 73-generic: amd64 (5.15.0- 73.80~20. 04.1, automatic), linux-headers- 5.15.0- 73-generic: amd64 (5.15.0- 73.80~20. 04.1, automatic), linux-image- 5.15.0- 73-generic: amd64 (5.15.0- 73.80~20. 04.1, automatic) oem-20. 04d:amd64 (5.14.0.1032.29, 5.15.0. 73.80~20. 04.34), linux-oem- 20.04d: amd64 (5.14.0.1032.29, 5.15.0. 73.80~20. 04.34)
Commandline: /usr/bin/
Requested-By: u (1001)
Install: linux-hwe-
Upgrade: linux-image-
End-Date: 2023-05-31 06:04:45
Start-Date: 2023-05-31 06:18:38 unattended- upgrade -v oem-20. 04d:amd64 (5.15.0. 73.80~20. 04.34)
Commandline: /usr/bin/
Requested-By: u (1001)
Remove: linux-image-
End-Date: 2023-05-31 06:18:38
Start-Date: 2023-05-31 06:18:42 unattended- upgrade -v oem-20. 04d:amd64 (5.15.0. 73.80~20. 04.34)
Commandline: /usr/bin/
Requested-By: u (1001)
Remove: linux-headers-
End-Date: 2023-05-31 06:18:42
Removing linux-headers- oem-20. 04d (5.15.0. 73.80~20. 04.34) ... oem-20. 04d linux-image- oem-20. 04d compute- 510 is kept back because a related package is kept back or due to local apt_preferences(5). decode- 510 is kept back because a related package is kept back or due to local apt_preferences(5). encode- 510 is kept back because a related package is kept back or due to local apt_preferences(5). nvidia- 510-oem- 20.04d is kept back because a related package is kept back or due to local apt_preferences(5). compute- utils-510 is kept back because a related package is kept back or due to local apt_preferences(5). kernel- common- 510 is kept back because a related package is kept back or due to local apt_preferences(5). kernel- source- 510 is kept back because a related package is kept back or due to local apt_preferences(5). xorg-video- nvidia- 510 is kept back because a related package is kept back or due to local apt_preferences(5).
Packages that were successfully auto-removed: linux-headers-
Packages that are kept back:
Package libnvidia-cfg1-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-
Package libnvidia-
Package libnvidia-
Package libnvidia-extra-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-fbc1-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package libnvidia-gl-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package linux-modules-
Package nvidia-
Package nvidia-driver-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package nvidia-
Package nvidia-
Package nvidia-utils-510 is kept back because a related package is kept back or due to local apt_preferences(5).
Package xserver-