I'm unable to apply updates on my Proxmox server. Currently running:
Attempts to apply updates fail as follow:
Following the instructions simply hangs (I've left it >12 hours, overnight until I finally cancel it):
Doing some web searches pointed to possibly an issue with `update-grub`, so I've also tried simply running that command itself, and it also hangs (I've left it running >12 hours overnight, nothing visible is happening):
Bash:
Linux pve 5.0.21-1-pve #1 SMP PVE 5.0.21-2 (Wed, 28 Aug 2019 15:12:18 +0200) x86_64 GNU/Linux
Attempts to apply updates fail as follow:
Bash:
root@pve:/boot/grub# apt update
Hit:1 http://download.proxmox.com/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Hit:4 http://ftp.it.debian.org/debian buster InRelease
Hit:5 https://download.docker.com/linux/debian buster InRelease
Hit:6 http://ftp.it.debian.org/debian buster-updates InRelease
Hit:7 https://enterprise.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
20 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pve:/boot/grub# apt upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Following the instructions simply hangs (I've left it >12 hours, overnight until I finally cancel it):
Bash:
root@pve:/boot/grub# dpkg --configure -a
Setting up pve-kernel-5.0.21-2-pve (5.0.21-3) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
run-parts: executing /etc/kernel/postinst.d/dkms 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
dkms: WARNING: Linux headers are missing, which may explain the above failures.
please install the linux-headers-5.0.21-2-pve package to fix this.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
update-initramfs: Generating /boot/initrd.img-5.0.21-2-pve
run-parts: executing /etc/kernel/postinst.d/pve-auto-removal 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
run-parts: executing /etc/kernel/postinst.d/zz-pve-efiboot 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.0.21-2-pve /boot/vmlinuz-5.0.21-2-pve
Doing some web searches pointed to possibly an issue with `update-grub`, so I've also tried simply running that command itself, and it also hangs (I've left it running >12 hours overnight, nothing visible is happening):
Bash:
root@pve:/# update-grub