[SOLVED] pve8to9 failed install

The error comes from a DKMS module that cannot build against kernel 6.14.8-2. Run:

dkms status

Identify the failing module, then remove or update it. Quick cleanup path:

apt purge -y r8168-dkms nvidia-dkms* virtualbox-dkms* wireguard-dkms zfs-dkms || true
apt update
apt -f install
dpkg --configure -a
apt install --reinstall -y proxmox-kernel-6.14.8-2-pve proxmox-kernel-6.14.8-2-pve-signed
proxmox-boot-tool refresh || true
reboot
This will finish the upgrade and drop incompatible DKMS modules.