proxmox update fails

proximity

Well-Known Member
Jul 19, 2019
48
1
48
50
Somehow Proxmox cannot update. It has unconfigured packages and when I try to configure them I get the output below. Anyone knows how to fix this?

thx!

root@proxmox:~# dpkg --configure -a
Setting up pve-kernel-5.0.21-1-pve (5.0.21-2) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.0.21-1-pve /boot/vmlinuz-5.0.21-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.0.21-1-pve /boot/vmlinuz-5.0.21-1-pve
update-initramfs: Generating /boot/initrd.img-5.0.21-1-pve
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
run-parts: executing /etc/kernel/postinst.d/pve-auto-removal 5.0.21-1-pve /boot/vmlinuz-5.0.21-1-pve
run-parts: executing /etc/kernel/postinst.d/zz-pve-efiboot 5.0.21-1-pve /boot/vmlinuz-5.0.21-1-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-1-pve /boot/vmlinuz-5.0.21-1-pve
/usr/sbin/grub-mkconfig: 37: /etc/default/grub: Syntax error: EOF in backquote substitution
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.0.21-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.0.21-1-pve (--configure):
installed pve-kernel-5.0.21-1-pve package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of pve-kernel-5.0:
pve-kernel-5.0 depends on pve-kernel-5.0.21-1-pve; however:
Package pve-kernel-5.0.21-1-pve is not configured yet.

dpkg: error processing package pve-kernel-5.0 (--configure):
dependency problems - leaving unconfigured
Setting up linux-image-4.19.0-6-amd64 (4.19.67-2) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
/etc/kernel/postinst.d/zz-pve-efiboot:
Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 37: /etc/default/grub: Syntax error: EOF in backquote substitution
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error processing package linux-image-4.19.0-6-amd64 (--configure):
installed linux-image-4.19.0-6-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-image-4.19.0-5-amd64 (4.19.37-5+deb10u2) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64
/etc/kernel/postinst.d/zz-pve-efiboot:
Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 37: /etc/default/grub: Syntax error: EOF in backquote substitution
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error processing package linux-image-4.19.0-5-amd64 (--configure):
installed linux-image-4.19.0-5-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-4.19.0-6-amd64; however:
Package linux-image-4.19.0-6-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-kernel-5.0.21-1-pve
pve-kernel-5.0
linux-image-4.19.0-6-amd64
linux-image-4.19.0-5-amd64
linux-image-amd64
root@proxmox:~#
 
Code:
root@proxmox:~# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on iommu=pt pci-stub.ids=1022:15e0""
GRUB_CMDLINE_LINUX=""

# Disable os-prober, it might add menu entries for each guest
GRUB_DISABLE_OS_PROBER=true

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"