I somehow screwed the update. Followed official instructions, update from 7 to 8 started, took quite some time, but now I'm stuck with errors, every time I try anything with apt ( apt update works but apt dist-upgrade, apt autoremove, apt install... gives error ) :
When trying to reboot the system, it doesn't boot to Proxmox untill i choose previous kernel. It boots then, VMs are working, but can't proceed with any upgrade.
It's a single node. No CEPH.
Please, bare in mind I'm not an advanced user. If any other information is needed, please tell me. Any help is apreciated. Thank you.
root@Proxmox:/# apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
dkms pve-headers-5.13 pve-headers-5.13.19-2-pve pve-headers-5.13.19-6-pve pve-headers-5.15 pve-headers-5.15.108-1-pve
pve-kernel-5.13 pve-kernel-5.13.19-6-pve sudo wireguard-dkms wireguard-tools
Use 'apt autoremove' to remove them.
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 pve-kernel-6.2.16-3-pve (6.2.16-3) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.2.16-3-pve /boot/vmlinuz-6.2.16-3-pve
dkms: running auto installation service for kernel 6.2.16-3-pve.
Sign command: /lib/modules/6.2.16-3-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Error! The /var/lib/dkms/wireguard/1.0.20210219/6.2.16-3-pve/x86_64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.2.16-3-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/pve-kernel-6.2.16-3-pve.postinst line 20.
dpkg: error processing package pve-kernel-6.2.16-3-pve (--configure):
installed pve-kernel-6.2.16-3-pve package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of pve-kernel-6.2:
pve-kernel-6.2 depends on pve-kernel-6.2.16-3-pve; however:
Package pve-kernel-6.2.16-3-pve is not configured yet.
dpkg: error processing package pve-kernel-6.2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-kernel-6.2; however:
Package pve-kernel-6.2 is not configured yet.
dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-kernel-6.2.16-3-pve
pve-kernel-6.2
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
When trying to reboot the system, it doesn't boot to Proxmox untill i choose previous kernel. It boots then, VMs are working, but can't proceed with any upgrade.
It's a single node. No CEPH.
Please, bare in mind I'm not an advanced user. If any other information is needed, please tell me. Any help is apreciated. Thank you.
Last edited: