最近 linux 更新到了 6.12.100 版本。运行 sudo apt update && sudo apt upgrade 之后,出现了下面的输出:
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.12.100+deb13-amd64
linux-image-amd64
linux-headers-6.12.100+deb13-amd64
linux-headers-amd64
Error: Sub-process /usr/bin/dpkg returned an error code (1)
在构建日志里出现了下面的内容(经过缩减):
/.../nv-pci.c: In function ‘nv_resize_pcie_bars’:
/.../nv-pci.c:237:9: error: too few arguments to function ‘pci_resize_resource’
237 | r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size);
| ^~~~~~~~~~~~~~~~~~~
相同的问题(pci_resize_resource 接口改变)也在今天凌晨被报道过,详见 DebBugs: 1143204。
有遇到相同问题的朋友们吗?
附一些系统信息:
- 显卡型号:
NVIDIA GeForce RTX 3050 Mobile - Nvidia 驱动:Debian Packaged,Open Flavor,
550.163.01-2
2026/8/23 更新:
Nvidia Graphics Drivers 的 Debian Wiki 界面的版本 Rev. 652 提到了无法编译的问题,并建议使用其他方法;Rev. 714 提到了这个版本将不再维护。
‘’‘As of kernel 6.12.100, the open flavor of this driver (550.163.01-4~bpo13+1) [[Loading... | no longer compiles]].’‘’
Consider using either the proprietary flavor described above or other [[#packaging|packaging methods]] until this is fixed.
‘’‘This version is no longer maintained and contains several security issues.’‘’
It should be used only in properly isolated, trusted environments.
同时,有人在 Salsa 里提了个 修复 PR,但还未合并。PR 里提供了可供下载的 nvidia-open-kernel-dkms 的安装包链接。