Proxmox VE 8 to 8.1 upgrade interrupted

Nov 27, 2023
3
0
1
Hi, I tried to upgrade my Proxmox VE servers from 8 to 8.1 and the process was interrupted. When I try to execute apt dist-upgrade now I get the following:

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up proxmox-kernel-6.5.11-4-pve-signed (6.5.11-4) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.5.11-4-pve /boot/vmlinuz-6.5.11-4-pve
dkms: running auto installation service for kernel 6.5.11-4-pve.
Sign command: /lib/modules/6.5.11-4-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 -j24 KERNELRELEASE=6.5.11-4-pve -j24 -C /lib/modules/6.5.11-4-pve/build M=/var/lib/dkms/blksnap/6.0.3.1221/build modules...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.11-4-pve (x86_64)
Consult /var/lib/dkms/blksnap/6.0.3.1221/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-4-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-4-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.5.11-4-pve-signed (--configure):
installed proxmox-kernel-6.5.11-4-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-4-pve-signed | proxmox-kernel-6.5.11-4-pve; however:
Package proxmox-kernel-6.5.11-4-pve-signed is not configured yet.
Package proxmox-kernel-6.5.11-4-pve is not installed.
Package proxmox-kernel-6.5.11-4-pve-signed which provides proxmox-kernel-6.5.11-4-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-4-pve-signed
proxmox-kernel-6.5
proxmox-default-kernel
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)

Best regards,

David Johnson
 
Looks like blksnap does not support the current proxmox kernel. What is it and why have you installed it?
blksnap/now 6.0.3.1221 all [installed,local]

Ah, that was it. I had installed the veeam package to try to backup the server and it installed blksnap at that time. I removed blksnap and the upgrade was able to complete successfully. Thanks so much for your help!

David
 
Last edited:

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!