Hi I've installed the latest proxmox version 7 .. and in the process of making sure everything is updated, I'm running into this error
I've been googling a for while but no luck. I think it's trying to build the latest kernel but failing because of a dependency? I don't see any other errors. Where should I look next? All help gratefully appreciated'
This is where the error seems to stem from
If I run update
and
and
root@homeserver:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
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 initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
Setting up pve-kernel-5.11.22-4-pve (5.11.22-8~bpo10+1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.11.22-4-pve /boot/vmlinuz-5.11.22-4-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.11.22-4-pve /boot/vmlinuz-5.11.22-4-pve
update-initramfs: Generating /boot/initrd.img-5.11.22-4-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/33B0-9CC9
Copying kernel and creating boot-entry for 5.11.22-1-pve
cp: preserving times for '/var/tmp/espmounts/33B0-9CC9/EFI/proxmox/5.11.22-1-pve/vmlinuz-5.11.22-1-pve': Read-only file system
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-5.11.22-4-pve.postinst line 19.
dpkg: error processing package pve-kernel-5.11.22-4-pve (--configure):
installed pve-kernel-5.11.22-4-pve package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of pve-kernel-5.11:
pve-kernel-5.11 depends on pve-kernel-5.11.22-4-pve; however:
Package pve-kernel-5.11.22-4-pve is not configured yet.
dpkg: error processing package pve-kernel-5.11 (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.11.22-4-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/33B0-9CC9
Copying kernel and creating boot-entry for 5.11.22-1-pve
cp: preserving times for '/var/tmp/espmounts/33B0-9CC9/EFI/proxmox/5.11.22-1-pve/initrd.img-5.11.22-1-pve': Read-only file system
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
pve-kernel-5.11.22-4-pve
pve-kernel-5.11
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've been googling a for while but no luck. I think it's trying to build the latest kernel but failing because of a dependency? I don't see any other errors. Where should I look next? All help gratefully appreciated'
This is where the error seems to stem from
Code:
Package pve-kernel-5.11.22-4-pve is not configured yet.
If I run update
Code:
root@homeserver:~# apt update
Hit:1 http://ftp.ca.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://ftp.ca.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@homeserver:~# apt list --upgradable
Listing... Done
libpve-u2f-server-perl/stable 1.1-1 amd64 [upgradable from: 1.1-1]
and
Code:
apt list --upgradable -a
Listing... Done
libpve-u2f-server-perl/stable 1.1-1 amd64 [upgradable from: 1.1-1]
libpve-u2f-server-perl/now 1.1-1 amd64 [installed,upgradable to: 1.1-1]
and
Code:
root@homeserver:~# pveversion -v
proxmox-ve: 7.0-2 (running kernel: 5.11.22-1-pve)
pve-manager: 7.0-8 (running version: 7.0-8/b1dbf562)
pve-kernel-helper: 7.0-3
pve-kernel-5.11.22-1-pve: 5.11.22-2
ceph-fuse: 15.2.13-pve1
corosync: 3.1.2-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.0.0-1+pve5
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.21-pve1
libproxmox-acme-perl: 1.1.1
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-4
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-2
libpve-storage-perl: 7.0-7
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-2
lxcfs: 4.0.8-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.1-1
proxmox-backup-file-restore: 2.0.1-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.2-4
pve-cluster: 7.0-3
pve-container: 4.0-5
pve-docs: 7.0-5
pve-edk2-firmware: 3.20200531-1
pve-firewall: 4.2-2
pve-firmware: 3.3-1
pve-ha-manager: 3.3-1
pve-i18n: 2.4-1
pve-qemu-kvm: 6.0.0-2
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-7
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1~bpo10+1
Last edited: