after an apt dist-upgrade going from 8.1.3 to 8.1.5 i have packages not installed:
linux-headers-6.1.0-18-amd64
linux-headers-amd64
The machine reboots fine fortunately, and rerunning the dist-upgrade i was able to copy paste the output.
Yes i have the patched NVIDIA driver installed. That nvidia log file ends with:
Before i start breaking stuff even more, can anybody tell me how to fix this?
thx!
linux-headers-6.1.0-18-amd64
linux-headers-amd64
The machine reboots fine fortunately, and rerunning the dist-upgrade i was able to copy paste the output.
Code:
root@pve ~ # apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-6.1.0-15-amd64 linux-headers-6.1.0-15-common proxmox-kernel-6.2.16-10-pve
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
'make' -j32 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-18-amd64 modules...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/545.29.06/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):
installed linux-headers-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:
Package linux-headers-6.1.0-18-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-6.1.0-18-amd64
linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve ~ #
Yes i have the patched NVIDIA driver installed. That nvidia log file ends with:
Code:
LD [M] /var/lib/dkms/nvidia/545.29.06/build/nvidia.o
ld -r -o /var/lib/dkms/nvidia/545.29.06/build/nvidia/nv-interface.o /var/lib/dkms/nvidia/545.29.06/build/nvidia/nv.o /var/>
ld -r -o /var/lib/dkms/nvidia/545.29.06/build/nvidia-modeset/nv-modeset-interface.o /var/lib/dkms/nvidia/545.29.06/build/n>
LD [M] /var/lib/dkms/nvidia/545.29.06/build/nvidia-modeset.o
LD [M] /var/lib/dkms/nvidia/545.29.06/build/nvidia-drm.o
LD [M] /var/lib/dkms/nvidia/545.29.06/build/nvidia-peermem.o
LD [M] /var/lib/dkms/nvidia/545.29.06/build/nvidia-uvm.o
MODPOST /var/lib/dkms/nvidia/545.29.06/build/Module.symvers
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
make[3]: *** [/usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost:126: /var/lib/dkms/nvidia/545.29.06/build/Mo>
make[2]: *** [/usr/src/linux-headers-6.1.0-18-common/Makefile:1991: modpost] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.1.0-18-amd64'
make[1]: *** [Makefile:250: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-18-common'
make: *** [Makefile:82: modules] Error 2
Before i start breaking stuff even more, can anybody tell me how to fix this?
thx!
Last edited: