Upgrade error pve-kernel-5.3.18-2-pve

sa10

Renowned Member
Feb 6, 2009
46
0
71
Canada
Code:
apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
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]
Setting up pve-kernel-5.3.18-2-pve (5.3.18-2) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
update-initramfs: Generating /boot/initrd.img-5.3.18-2-pve
run-parts: executing /etc/kernel/postinst.d/kdump-tools 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
kdump-tools: Generating /var/lib/kdump/initrd.img-5.3.18-2-pve
mkinitramfs: failed to determine device for /
mkinitramfs: workaround is MODULES=most, check:
grep -r MODULES /var/lib/kdump/initramfs-tools

Error please report bug on initramfs-tools
Include the output of 'mount' and 'cat /proc/mounts'
update-initramfs: failed for  with 1.
run-parts: /etc/kernel/postinst.d/kdump-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.3.18-2-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.3.18-2-pve (--configure):
 installed pve-kernel-5.3.18-2-pve package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of pve-kernel-5.3:
 pve-kernel-5.3 depends on pve-kernel-5.3.18-2-pve; however:
  Package pve-kernel-5.3.18-2-pve is not configured yet.

dpkg: error processing package pve-kernel-5.3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-kernel-5.3.18-2-pve
 pve-kernel-5.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
this is not an error with the kernel package, but some issue with kdump-tools and your system config. are you running on ZFS?
 
Removing the script /etc/kernel/postinst.d/kdump-tools and the package kdump-tools solved the problem
Thanks
 
Had the same problem with kdump. Removing the script and then "sudo apt-get autoremove --purge kdump-tools" solved the problem.
Thank you very much!
 

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!