upgrade from 8.4.11 to 9.0.5 failes

PmUserZFS

Well-Known Member
Feb 2, 2018
114
5
58
Setting up proxmox-ve (9.0.0) ...
Processing triggers for debianutils (5.23.2) ...
Processing triggers for libc-bin (2.41-12) ...
Processing triggers for systemd (257.7-1) ...
Processing triggers for sgml-base (1.31+nmu1) ...
Setting up polkitd (126-2) ...
Setting up packagekit (1.3.1-1) ...
Installing new version of config file /etc/apt/apt.conf.d/20packagekit ...
Setting up packagekit-tools (1.3.1-1) ...
Processing triggers for proxmox-backup-file-restore (4.0.14-1) ...
Updating file-restore initramfs...
13536 blocks
Processing triggers for ca-certificates (20250419) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.148.3) ...
update-initramfs: Generating /boot/initrd.img-6.14.8-2-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/0571-DECB
Copying kernel and creating boot-entry for 6.14.8-2-pve
Copying kernel and creating boot-entry for 6.8.12-11-pve
Copying kernel and creating boot-entry for 6.8.12-13-pve
Copying and configuring kernels on /dev/disk/by-uuid/0572-F170
Copying kernel and creating boot-entry for 6.14.8-2-pve
Copying kernel and creating boot-entry for 6.8.12-11-pve
Copying kernel and creating boot-entry for 6.8.12-13-pve
Processing triggers for postfix (3.10.3-2) ...
Restarting postfix
Processing triggers for pve-ha-manager (5.0.4) ...
Processing triggers for shim-signed:amd64 (1.47+pmx1+15.8-1+pmx1) ...
Can't locate AptPkg/Config.pm in @INC (you may need to install the AptPkg::Config module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/lib/x86_64-linux-gnu/perl5/5.36/AptPkg/hash.pm line 20, <DATA> line 960.
BEGIN failed--compilation aborted, <DATA> line 960.
Connection to 10.60.5.33 closed.


need some input on the above error message.
 
I've the same error with the missing files /usr/lib/x86_64-linux-gnu/perl5/5.40/
 
I've the same error with the missing files /usr/lib/x86_64-linux-gnu/perl5/5.40/
as @LnxBil said - it would help a lot to know which commands you ran to get in that situation?
(and to provide /var/log/apt/term.log and history.log from that upgrade)

a very blind guess: did you maybe run `apt upgrade` instead of `apt dist-upgrade`?
 
  • Like
Reactions: Johannes S
Hello,
I have the same error while updating my Proxmox, the only thing that I could see is that the upgrade process is trying to search for the perl5/5.36 while I see when I restart after the update that I have perl5/5.40, and it seems that the problem could come from that. Do you have any information about that ?
In my case, I have used apt dist-upgrade.
If you need, I can provide the files term.log and history.log I just need to redo the update (it is in test so no problem with that).
Thank you