I haven't been on this box in a couple of years as I need to upgrade hardware. I finally got around to it and now I am trying to make the 6 to 7 upgrade but am hitting this wall while trying to follow the manual. I know enough about linux and proxmox to be dangerous and that's about it. I think it has something to do with the kernel...?
I run apt update and everything looks fine and then when I try to run apt dist-upgrade I get this...
Here is my output of pveversion where I can see that proxmox-ve isn't installed correctly...
I run apt update and everything looks fine and then when I try to run apt dist-upgrade I get this...
Code:
root@pve:~# apt update
Hit:1 http://ftp.us.debian.org/debian buster InRelease
Hit:2 http://ftp.us.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Hit:4 http://download.proxmox.com/debian/ceph-octopus buster InRelease
Hit:5 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.
root@pve:~# 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.
4 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.203-1-pve (5.4.203-1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.4.203-1-pve /boot/vmlinuz-5.4.203-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.4.203-1-pve /boot/vmlinuz-5.4.203-1-pve
update-initramfs: Generating /boot/initrd.img-5.4.203-1-pve
run-parts: executing /etc/kernel/postinst.d/proxmox-auto-removal 5.4.203-1-pve /boot/vmlinuz-5.4.203-1-pve
run-parts: executing /etc/kernel/postinst.d/zz-proxmox-boot 5.4.203-1-pve /boot/vmlinuz-5.4.203-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.203-1-pve /boot/vmlinuz-5.4.203-1-pve
/usr/sbin/grub-mkconfig: 38: /etc/default/grub.d/grub.cfg: function: 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.203-1-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.4.203-1-pve (--configure):
installed pve-kernel-5.4.203-1-pve package post-installation script subprocess returned error exit status 2
Setting up grub-pc (2.06-3~deb10u3) ...
sh: 38: /etc/default/grub.d/grub.cfg: function: not found
sh: 41: /etc/default/grub.d/grub.cfg: save_env: not found
sh: 43: /etc/default/grub.d/grub.cfg: Syntax error: "}" unexpected
Installing for i386-pc platform.
File descriptor 3 (pipe:[121261]) leaked on vgs invocation. Parent PID 73709: grub-install.real
File descriptor 3 (pipe:[121261]) leaked on vgs invocation. Parent PID 73709: grub-install.real
File descriptor 3 (pipe:[121261]) leaked on vgs invocation. Parent PID 73709: grub-install.real
Installation finished. No error reported.
/usr/sbin/grub-mkconfig: 38: /etc/default/grub.d/grub.cfg: function: not found
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of pve-kernel-5.4:
pve-kernel-5.4 depends on pve-kernel-5.4.203-1-pve; however:
Package pve-kernel-5.4.203-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.203-1-pve
grub-pc
pve-kernel-5.4
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is my output of pveversion where I can see that proxmox-ve isn't installed correctly...
Code:
root@pve:~# pveversion -v
proxmox-ve: not correctly installed (running kernel: 5.4.73-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-helper: 6.4-20
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph: 15.2.17-pve1~bpo10
ceph-fuse: 15.2.17-pve1~bpo10
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve4~bpo10
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-5
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.14-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-8
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.7-pve1
Last edited: