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:~#
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:~#