
我嘗試升級系統,但收到以下錯誤訊息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps tease /r/Linux ;)
# Use 'pro config set apt_news=false' to hide this and future APT news.
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-dkms-470 (470.161.03-0ubuntu0.20.04.1) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-5.15.0-56-generic
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Removing old nvidia-470.161.03 DKMS files...
-------- Uninstall Beginning --------
Module: nvidia
Version: 470.161.03
Kernel: 5.15.0-56-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
nvidia.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-56-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-modeset.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-56-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-drm.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-56-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-uvm.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-56-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-peermem.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-56-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
------------------------------
Deleting module version: 470.161.03
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-470.161.03 DKMS files...
Building for 5.15.0-56-generic 6.0.12-x64v1-xanmod1
Building for architecture x86_64
Building initial module for 5.15.0-56-generic
Secure Boot not enabled on this system.
Done.
nvidia.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-56-generic/updates/dkms/
nvidia-modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-56-generic/updates/dkms/
nvidia-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-56-generic/updates/dkms/
nvidia-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-56-generic/updates/dkms/
nvidia-peermem.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-56-generic/updates/dkms/
depmod...
DKMS: install completed.
Building initial module for 6.0.12-x64v1-xanmod1
ERROR (dkms apport): kernel package linux-headers-6.0.12-x64v1-xanmod1 is not supported
Error! Bad return status for module build on kernel: 6.0.12-x64v1-xanmod1 (x86_64)
Consult /var/lib/dkms/nvidia/470.161.03/build/make.log for more information.
dpkg: error processing package nvidia-dkms-470 (--configure):
installed nvidia-dkms-470 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-470:
nvidia-driver-470 depends on nvidia-dkms-470 (<= 470.161.03-1); however:
Package nvidia-dkms-470 is not configured yet.
nvidia-driver-470 depends on nvidia-dkms-470 (>= 470.161.03); however:
Package nvidia-dkms-470 is not configured yet.
dpkg: error processing package nvidia-driver-470 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-driver-460:
nvidia-driver-460 depends on nvidia-driver-470; however:
Package nvidia-driver-470 is not configured yet.
dpkg: error processing package nvidia-driver-460 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message in
dicates its a followup error from a previous failure.
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.img-6.0.12-x64v1-xanmod1
Errors were encountered while processing:
nvidia-dkms-470
nvidia-driver-470
nvidia-driver-460
E: Sub-process /usr/bin/dpkg returned an error code (1)
最新的 nvidia 驅動程式似乎與 xanmod1 核心不相容,因此我嘗試從通用核心升級,但得到了相同的結果。
有什麼辦法可以升級或在升級時停用此訊息嗎?我的系統資訊:
鑰匙 | 價值 |
---|---|
作業系統 | Ubuntu 20.04.5 LTS x86_64 |
主持人 | HP Pavilion 筆記型電腦 15-cs3xxx |
核心 | 5.15.0-56-通用 |
正常運作時間 | 21分34秒 |
dpkg包 | 3797 |
快照包 | 12 |
殼 | 新0.72.2 |
解決 | 1920x1080 |
德 | ubuntu:GNOME |
主題 | 黑-白-GTK |
圖示 | suru-plus-aspromauros-1.6 |
終端 | 終端 |
中央處理器 | 英特爾(R) 酷睿(TM) i7-1065G7 CPU @ 1.30GHz |
核心 | 4 |
圖形處理器 | [英特爾公司 Iris Plus 顯示卡 G7(修訂版 07)00:02.0,NVIDIA 公司 GP107M [GeForce GTX 1050 3 GB Max-Q](修訂版 a1)06:00.0] |
磁碟 | 341.7 GB / 490.6 GB |
記憶 | 6.7 GB / 12.3 GB |