Error during 6.8.12-20 Update

dehidding

New Member
May 30, 2025
5
0
1
I tried updating my PBS from 6.8.12-18 to 6.8.12-20 and received an error. Here's the console output (errors have been put in bold:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
proxmox-kernel-6.8.12-11-pve-signed proxmox-kernel-6.8.12-12-pve-signed
proxmox-kernel-6.8.12-13-pve-signed proxmox-kernel-6.8.12-15-pve-signed
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
proxmox-kernel-6.8.12-20-pve-signed
The following packages will be upgraded:
libgnutls30 libpng16-16 proxmox-backup-server proxmox-kernel-6.8
proxmox-widget-toolkit
5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 138 MB of archives.
After this operation, 578 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org bookworm-security/main amd64 libgnutls30 amd64 3.7.9-2+deb12u6 [1,408 kB]
Get:2 http://security.debian.org bookworm-security/main amd64 libpng16-16 amd64 1.6.39-2+deb12u3 [276 kB]
Get:3 http://download.proxmox.com/debian/pbs bookworm/pbs-no-subscription amd64 proxmox-widget-toolkit all 4.3.16 [226 kB]
Get:4 http://download.proxmox.com/debian/pbs bookworm/pbs-no-subscription amd64 proxmox-backup-server amd64 3.4.8-3 [32.2 MB]
Get:5 http://download.proxmox.com/debian/pbs bookworm/pbs-no-subscription amd64 proxmox-kernel-6.8.12-20-pve-signed amd64 6.8.12-20 [103 MB]
Get:6 http://download.proxmox.com/debian/pbs bookworm/pbs-no-subscription amd64 proxmox-kernel-6.8 all 6.8.12-20 [11.4 kB]
Fetched 138 MB in 14s (10.1 MB/s)
Reading changelogs... Done
(Reading database ... 87941 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.7.9-2+deb12u6_amd64.deb ...
Unpacking libgnutls30:amd64 (3.7.9-2+deb12u6) over (3.7.9-2+deb12u5) ...
Setting up libgnutls30:amd64 (3.7.9-2+deb12u6) ...
(Reading database ... 87941 files and directories currently installed.)
Preparing to unpack .../libpng16-16_1.6.39-2+deb12u3_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.39-2+deb12u3) over (1.6.39-2+deb12u1) ...
Preparing to unpack .../proxmox-widget-toolkit_4.3.16_all.deb ...
Unpacking proxmox-widget-toolkit (4.3.16) over (4.3.13) ...
Preparing to unpack .../proxmox-backup-server_3.4.8-3_amd64.deb ...
Unpacking proxmox-backup-server (3.4.8-3) over (3.4.8-2) ...
Selecting previously unselected package proxmox-kernel-6.8.12-20-pve-signed.
Preparing to unpack .../proxmox-kernel-6.8.12-20-pve-signed_6.8.12-20_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-20-pve-signed (6.8.12-20) ...
Preparing to unpack .../proxmox-kernel-6.8_6.8.12-20_all.deb ...
Unpacking proxmox-kernel-6.8 (6.8.12-20) over (6.8.12-18) ...
Setting up proxmox-widget-toolkit (4.3.16) ...
Setting up proxmox-kernel-6.8.12-20-pve-signed (6.8.12-20) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 6.8.12-20-pve /boot/vmlinuz-6.8.12-20-pve
update-initramfs: Generating /boot/initrd.img-6.8.12-20-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/697F-15E7
Copying kernel 6.8.12-18-pve
Copying kernel 6.8.12-20-pve
Removing old version 6.8.12-16-pve
/usr/sbin/grub-mkconfig: 270: cannot create /boot/grub/grub.cfg.new: Directory nonexistent
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 2
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/proxmox-kernel-6.8.12-20-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.12-20-pve-signed (--configure):
installed proxmox-kernel-6.8.12-20-pve-signed package post-installation script subprocess returned error exit status 2
Setting up libpng16-16:amd64 (1.6.39-2+deb12u3) ...
dpkg: dependency problems prevent configuration of proxmox-kernel-6.8:
proxmox-kernel-6.8 depends on proxmox-kernel-6.8.12-20-pve-signed | proxmox-kernel-6.8.12-20-pve; however:
Package proxmox-kernel-6.8.12-20-pve-signed is not configured yet.
Package proxmox-kernel-6.8.12-20-pve is not installed.
Package proxmox-kernel-6.8.12-20-pve-signed which provides proxmox-kernel-6.8.12-20-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.8 (--configure):
dependency problems - leaving unconfigured
Setting up proxmox-backup-server (3.4.8-3) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Errors were encountered while processing:
proxmox-kernel-6.8.12-20-pve-signed
proxmox-kernel-6.8
E: Sub-process /usr/bin/dpkg returned an error code (1)




I have not tried anything yet. Figured I'd ask before I jumped in and made it worse.

Regards.
 
Hi dehidding,

Jumping in, making it worse and then repairing is a good way to learn a lot ;-)

/usr/sbin/grub-mkconfig: 270: cannot create /boot/grub/grub.cfg.new: Directory nonexistent
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 2

Just as a sanity check: does the directory exist? How much free space does /boot have? Did it remove your current kernel?

Code:
# uname -a
# ls /boot/*
# df -h /boot

Are you on UEFI or BIOS?
 
This machine is on BIOS, it's an HP DL360 G8. I've never had an issue previously running an update/upgrade, which is what threw me. An error at the end of the upgrade where the script is replacing boot files - not an area where I like to "play around" since an error can prevent the machine from booting. The machine boots from a mirrored pair of SSDs. Because it's an older machine I had to go through a few hurdles to get proxmox to install properly. Still, it's worked beautifully for the past year with no hiccups.

root@pbs:~# uname -a
Linux pbs 6.8.12-18-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-18 (2025-12-15T18:07Z) x86_64 GNU/Linux
root@pbs:~# ls /boot/*
/boot/config-6.8.12-11-pve /boot/initrd.img-6.8.12-16-pve /boot/System.map-6.8.12-16-pve
/boot/config-6.8.12-12-pve /boot/initrd.img-6.8.12-18-pve /boot/System.map-6.8.12-18-pve
/boot/config-6.8.12-13-pve /boot/initrd.img-6.8.12-20-pve /boot/System.map-6.8.12-20-pve
/boot/config-6.8.12-15-pve /boot/initrd.img-6.8.12-9-pve /boot/System.map-6.8.12-9-pve
/boot/config-6.8.12-16-pve /boot/memtest86+ia32.bin /boot/vmlinuz-6.8.12-11-pve
/boot/config-6.8.12-18-pve /boot/memtest86+ia32.efi /boot/vmlinuz-6.8.12-12-pve
/boot/config-6.8.12-20-pve /boot/memtest86+x64.bin /boot/vmlinuz-6.8.12-13-pve
/boot/config-6.8.12-9-pve /boot/memtest86+x64.efi /boot/vmlinuz-6.8.12-15-pve
/boot/initrd.img-6.8.12-11-pve /boot/System.map-6.8.12-11-pve /boot/vmlinuz-6.8.12-16-pve
/boot/initrd.img-6.8.12-12-pve /boot/System.map-6.8.12-12-pve /boot/vmlinuz-6.8.12-18-pve
/boot/initrd.img-6.8.12-13-pve /boot/System.map-6.8.12-13-pve /boot/vmlinuz-6.8.12-20-pve
/boot/initrd.img-6.8.12-15-pve /boot/System.map-6.8.12-15-pve /boot/vmlinuz-6.8.12-9-pve

/boot/efi:

/boot/grub:
grub.cfg unicode.pf2

/boot/pve:
initrd.img initrd.img-6.8 vmlinuz vmlinuz-6.8
root@pbs:~# df -h /boot
Filesystem Size Used Avail Use% Mounted on
rpool/ROOT/pbs-1 431G 3.7G 427G 1% /
root@pbs:~#
 
By coincidence I had the same update waiting for me; it ran without a hitch.

Free space certainly does not seem a problem on your system.

Have you tried re-running apt upgrade, or have it explicitly install proxmox-kernel?
 
So hearing that the update ran ok for somebody else gives me more comfort that there is not an error in the update.

And running apt update and then apt upgrade...everything finishes without issues. So my concern was overblown. Thanks for your help.

Regards