[SOLVED] I broke the upgrade to the new kernel...

LordRatner

Member
Jun 20, 2022
50
13
8
I honestly have no idea how. I think it had something to do with the Coral TPU referenced in this thread: https://forum.proxmox.com/threads/update-error-with-coral-tpu-drivers.136888/

However the steps in that thread do not resolve the issue. Now that I have broken whatever I broke, nothing can install. Here's an example:

Code:
root@node1:/home# apt install tini
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  g++-10 libstdc++-10-dev libtiff5 libwebp6 linux-compiler-gcc-10-x86 linux-headers-5.10.0-23-amd64 linux-headers-5.10.0-23-common
  linux-headers-6.1.0-13-amd64 linux-headers-6.1.0-13-common linux-headers-6.1.0-9-amd64 linux-headers-6.1.0-9-common linux-kbuild-5.10
  proxmox-headers-6.2.16-15-pve pve-headers pve-headers-6.2 pve-headers-6.2.16-3-pve pve-kernel-6.2.11-2-pve pve-kernel-6.2.16-3-pve telnet
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  tini
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 255 kB of archives.
After this operation, 776 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian bookworm/main amd64 tini amd64 0.19.0-1 [255 kB]
Fetched 255 kB in 0s (5,066 kB/s)
Selecting previously unselected package tini.
(Reading database ... 335625 files and directories currently installed.)
Preparing to unpack .../tini_0.19.0-1_amd64.deb ...
Unpacking tini (0.19.0-1) ...
Setting up tini (0.19.0-1) ...
Setting up proxmox-kernel-6.5.11-7-pve-signed (6.5.11-7) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.5.11-7-pve /boot/vmlinuz-6.5.11-7-pve
dkms: running auto installation service for kernel 6.5.11-7-pve.
Sign command: /lib/modules/6.5.11-7-pve/build/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.5.11-7-pve modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.11-7-pve (x86_64)
Consult /var/lib/dkms/nvidia/530.41.03/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.5.11-7-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.5.11-7-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.5.11-7-pve-signed (--configure):
 installed proxmox-kernel-6.5.11-7-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-6.5:
 proxmox-kernel-6.5 depends on proxmox-kernel-6.5.11-7-pve-signed | proxmox-kernel-6.5.11-7-pve; however:
  Package proxmox-kernel-6.5.11-7-pve-signed is not configured yet.
  Package proxmox-kernel-6.5.11-7-pve is not installed.
  Package proxmox-kernel-6.5.11-7-pve-signed which provides proxmox-kernel-6.5.11-7-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-default-kernel:
 proxmox-default-kernel depends on proxmox-kernel-6.5; however:
  Package proxmox-kernel-6.5 is not configured yet.

dpkg: error processing package proxmox-default-kernel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on proxmox-default-kernel; however:
  Package proxmox-default-kernel is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 proxmox-kernel-6.5.11-7-pve-signed
 proxmox-kernel-6.5
 proxmox-default-kernel
 proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any clues on how to resolve this? I'm not going to restart until I know it won't kill my node.

Thanks!
 
Figured it out. For anyone with the same problem, it was the old Nvidia drivers that needed to be updated.

Remove them with /usr/bin/nvidia-uninstall Then install something newer. I used NVIDIA-Linux-x86_64-545.23.06. Then the kernel should compile.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!