Good day to all,
I may have done something wrong at one point as I get the following error when doing
My issue seems similar to this post (https://forum.proxmox.com/threads/failed-to-upgrade-packages.89089/#post-390286) but i want to make sure i don't misunterpret, could you provide some help?
Many thanks in advance!
I may have done something wrong at one point as I get the following error when doing
apt update && apt dist-upgrade
:
Code:
root@enode304:~# apt update && apt dist-upgrade
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian unstable InRelease
Hit:3 http://ftp.fr.debian.org/debian buster InRelease
Hit:4 http://ftp.fr.debian.org/debian buster-updates InRelease
Hit:5 http://download.proxmox.com/debian buster InRelease
Hit:6 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'pve-no-subcription/binary-amd64/Packages' as repository 'http://download.proxmox.com/debian buster InRelease' doesn't have the component 'pve-no-subcription' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'pve-no-subcription/i18n/Translation-en' as repository 'http://download.proxmox.com/debian buster InRelease' doesn't have the component 'pve-no-subcription' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'pve-no-subcription/i18n/Translation-en_US' as repository 'http://download.proxmox.com/debian buster InRelease' doesn't have the component 'pve-no-subcription' (component misspelt in sources.list?)
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.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up pve-kernel-5.4.114-1-pve (5.4.114-1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.4.114-1-pve /boot/vmlinuz-5.4.114-1-pve
run-parts: executing /etc/kernel/postinst.d/dkms 5.4.114-1-pve /boot/vmlinuz-5.4.114-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.4.114-1-pve /boot/vmlinuz-5.4.114-1-pve
update-initramfs: Generating /boot/initrd.img-5.4.114-1-pve
run-parts: executing /etc/kernel/postinst.d/proxmox-auto-removal 5.4.114-1-pve /boot/vmlinuz-5.4.114-1-pve
run-parts: executing /etc/kernel/postinst.d/zz-proxmox-boot 5.4.114-1-pve /boot/vmlinuz-5.4.114-1-pve
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.4.114-1-pve /boot/vmlinuz-5.4.114-1-pve
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: If: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.4.114-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.4.114-1-pve (--configure):
installed pve-kernel-5.4.114-1-pve package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of pve-kernel-5.4:
pve-kernel-5.4 depends on pve-kernel-5.4.114-1-pve; however:
Package pve-kernel-5.4.114-1-pve is not configured yet.
dpkg: error processing package pve-kernel-5.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-kernel-5.4; however:
Package pve-kernel-5.4 is not configured yet.
dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-kernel-5.4.114-1-pve
pve-kernel-5.4
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
My issue seems similar to this post (https://forum.proxmox.com/threads/failed-to-upgrade-packages.89089/#post-390286) but i want to make sure i don't misunterpret, could you provide some help?
Many thanks in advance!