[SOLVED] Proxmox 8.1 Upgrade Issue

james_h

New Member
Jan 23, 2024
8
0
1
I used "apt upgrade" on a fully functioning promox host that is part of a cluster, and have caused an issue.

I appreciate now I should have used "apt-get dist-upgrade" but upon running this command now I have unmet dependancies.

root@pve-1:/etc/apt/sources.list.d# apt-get dist-upgrade 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: guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 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-manager (8.1.4) ... LVM configuration valid. Job for pvedaemon.service failed. See "systemctl status pvedaemon.service" and "journalctl -xeu pvedaemon.service" for details. dpkg: error processing package pve-manager (--configure): installed pve-manager package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of proxmox-ve: proxmox-ve depends on pve-manager (>= 8.0.4); however: Package pve-manager is not configured yet. dpkg: error processing package proxmox-ve (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: pve-manager proxmox-ve E: Sub-process /usr/bin/dpkg returned an error code (1)

root@pve-1:/etc/apt/sources.list.d# systemctl status pvedaemon.service ◠pvedaemon.service - PVE API Daemon Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; preset: enabled) Active: active (running) since Mon 2023-11-13 07:22:26 GMT; 2 months 10 days ago Process: 3875514 ExecReload=/usr/bin/pvedaemon restart (code=exited, status=255/EXCEPTION) Main PID: 988 (pvedaemon) Tasks: 4 (limit: 18943) Memory: 365.2M CPU: 14min 2.398s CGroup: /system.slice/pvedaemon.service ├─ 988 pvedaemon ├─ 470248 "pvedaemon worker" ├─3721094 "pvedaemon worker" └─3725673 "pvedaemon worker" Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/INotify.pm line 20. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/INotify.pm line 20. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Daemon.pm line 22. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Daemon.pm line 22. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/bin/pvedaemon line 11. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 11. Jan 23 13:03:40 pve-1 systemd[1]: pvedaemon.service: Control process exited, code=exited, status=255/EXCEPTION Jan 23 13:03:40 pve-1 systemd[1]: Reload failed for pvedaemon.service - PVE API Daemon. root@pve-1:/etc/apt/sources.list.d#

root@pve-1:/etc/apt/sources.list.d# journalctl -xeu pvedaemon.service Jan 23 11:58:51 pve-1 pvedaemon[3721094]: <root@pam> successful auth for user 'root@pam' Jan 23 12:14:51 pve-1 pvedaemon[470248]: <root@pam> successful auth for user 'root@pam' Jan 23 12:30:51 pve-1 pvedaemon[3721094]: <root@pam> successful auth for user 'root@pam' Jan 23 12:46:51 pve-1 pvedaemon[470248]: <root@pam> successful auth for user 'root@pam' Jan 23 13:01:58 pve-1 pvedaemon[3725673]: <root@pam> successful auth for user 'root@pam' Jan 23 13:03:39 pve-1 systemd[1]: Reloading pvedaemon.service - PVE API Daemon... â–‘â–‘ Subject: A reload job for unit pvedaemon.service has begun execution â–‘â–‘ Defined-By: systemd â–‘â–‘ Support: https://www.debian.org/support â–‘â–‘ â–‘â–‘ A reload job for unit pvedaemon.service has begun execution. â–‘â–‘ â–‘â–‘ The job identifier is 53855. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 768, near "0 return0" Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing operator before return0?) Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 768, near "1 iv" Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing operator before iv?) Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 776, near "$y iv" Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing operator before iv?) Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Backticks found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 778, near "`" Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing semicolon on previous line?) Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Number found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 783, near "0" Jan 23 13:03:40 pve-1 pvedaemon[3875514]: No lib specified, and couldn't load the default lib 'Math::BigInt::Calc' at /usr/share/perl5/Net/IP.pm line 43. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/Net/IP.pm line 43. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/JSONSchema.pm line 14. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/JSONSchema.pm line 14. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/INotify.pm line 20. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/INotify.pm line 20. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Daemon.pm line 22. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Daemon.pm line 22. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/bin/pvedaemon line 11. Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 11. Jan 23 13:03:40 pve-1 systemd[1]: pvedaemon.service: Control process exited, code=exited, status=255/EXCEPTION â–‘â–‘ Subject: Unit process exited â–‘â–‘ Defined-By: systemd â–‘â–‘ Support: https://www.debian.org/support â–‘â–‘ â–‘â–‘ An ExecReload= process belonging to unit pvedaemon.service has exited. â–‘â–‘ â–‘â–‘ The process' exit code is 'exited' and its exit status is 255. Jan 23 13:03:40 pve-1 systemd[1]: Reload failed for pvedaemon.service - PVE API Daemon. â–‘â–‘ Subject: A reload job for unit pvedaemon.service has finished â–‘â–‘ Defined-By: systemd â–‘â–‘ Support: https://www.debian.org/support â–‘â–‘ â–‘â–‘ A reload job for unit pvedaemon.service has finished. â–‘â–‘ â–‘â–‘ The job identifier is 53855 and the job result is failed.
 
please post
- pveversion -v
- /var/log/apt/history.log (and its rotated versions, if necessary)
- if you have it installed, "debsums -c"
 
please post
- pveversion -v
- /var/log/apt/history.log (and its rotated versions, if necessary)
- if you have it installed, "debsums -c"

Thanks Fabian:

root@pve-1:/etc/apt/sources.list.d# pveversion -v Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 768, near "0 return0" (Missing operator before return0?) Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 768, near "1 iv" (Missing operator before iv?) Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 776, near "$y iv" (Missing operator before iv?) Backticks found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 778, near "`" (Missing semicolon on previous line?) Number found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 783, near "0" No lib specified, and couldn't load the default lib 'Math::BigInt::Calc' at /usr/share/perl5/Net/IP.pm line 43. BEGIN failed--compilation aborted at /usr/share/perl5/Net/IP.pm line 43. Compilation failed in require at /usr/share/perl5/PVE/JSONSchema.pm line 14. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/JSONSchema.pm line 14. Compilation failed in require at /usr/share/perl5/PVE/Certificate.pm line 11. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Certificate.pm line 11. Compilation failed in require at /usr/share/perl5/PVE/Cluster.pm line 15. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Cluster.pm line 15. Compilation failed in require at /usr/share/perl5/PVE/API2/APT.pm line 17. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/APT.pm line 17. Compilation failed in require at /usr/bin/pveversion line 7. BEGIN failed--compilation aborted at /usr/bin/pveversion line 7. root@pve-1:/etc/apt/sources.list.d# debsums -c -bash: debsums: command not found

root@pve-1:/etc/apt/sources.list.d# cat /var/log/apt/history.log Start-Date: 2024-01-23 11:00:51 Commandline: apt upgrade Install: pve-edk2-firmware-ovmf:amd64 (4.2023.08-3, automatic), proxmox-kernel-6.2.16-20-pve:amd64 (6.2.16-20, automatic), pve-edk2-firmware-legacy:amd64 (4.2023.08-3, automatic), libsocket6-perl:amd64 (0.29-3, automatic), proxmox-kernel-6.5:amd64 (6.5.11-7, automatic), proxmox-kernel-6.5.11-7-pve-signed:amd64 (6.5.11-7, automatic), libpve-network-perl:amd64 (0.9.5, automatic), libpve-notify-perl:amd64 (8.0.5, automatic), fonts-font-logos:amd64 (1.0.1-3, automatic), libnet-subnet-perl:amd64 (1.03-2, automatic), proxmox-termproxy:amd64 (1.0.1, automatic) Upgrade: libperl5.36:amd64 (5.36.0-7, 5.36.0-7+deb12u1), libcups2:amd64 (2.4.2-3+deb12u4, 2.4.2-3+deb12u5), pve-docs:amd64 (8.0.5, 8.1.3), libcurl4:amd64 (7.88.1-10+deb12u4, 7.88.1-10+deb12u5), udev:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), proxmox-backup-restore-image:amd64 (0.5.1, 0.6.0), proxmox-default-kernel:amd64 (1.0.0, 1.0.1), libnghttp2-14:amd64 (1.52.0-1, 1.52.0-1+deb12u1), libcurl3-gnutls:amd64 (7.88.1-10+deb12u4, 7.88.1-10+deb12u5), openssh-client:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), proxmox-widget-toolkit:amd64 (4.0.9, 4.1.3), libpve-rs-perl:amd64 (0.8.5, 0.8.8), pve-firmware:amd64 (3.8-3, 3.9-1), perl:amd64 (5.36.0-7, 5.36.0-7+deb12u1), tzdata:amd64 (2023c-5, 2023c-5+deb12u1), zfs-zed:amd64 (2.1.13-pve1, 2.2.2-pve1), libpam-systemd:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), zfs-initramfs:amd64 (2.1.13-pve1, 2.2.2-pve1), spl:amd64 (2.1.13-pve1, 2.2.2-pve1), ssh:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), pve-qemu-kvm:amd64 (8.0.2-7, 8.1.2-6), libnvpair3linux:amd64 (2.1.13-pve1, 2.2.2-pve1), proxmox-mail-forward:amd64 (0.2.0, 0.2.3), libproxmox-acme-perl:amd64 (1.4.6, 1.5.0), libpve-cluster-api-perl:amd64 (8.0.4, 8.0.5), pve-ha-manager:amd64 (4.0.2, 4.0.3), grub-pc-bin:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), lxcfs:amd64 (5.0.3-pve3, 5.0.3-pve4), libproxmox-backup-qemu0:amd64 (1.4.0, 1.4.1), libuutil3linux:amd64 (2.1.13-pve1, 2.2.2-pve1), libpve-storage-perl:amd64 (8.0.2, 8.0.5), libsystemd0:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libzpool5linux:amd64 (2.1.13-pve1, 2.2.2-pve1), libnss-systemd:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libpve-guest-common-perl:amd64 (5.0.5, 5.0.6), openssh-server:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), proxmox-kernel-6.2:amd64 (6.2.16-19, 6.2.16-20), pve-cluster:amd64 (8.0.4, 8.0.5), systemd:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libproxmox-rs-perl:amd64 (0.3.1, 0.3.3), libudev1:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), proxmox-ve:amd64 (8.0.2, 8.1.0), novnc-pve:amd64 (1.4.0-2, 1.4.0-3), proxmox-backup-file-restore:amd64 (3.0.4-1, 3.1.2-1), ifupdown2:amd64 (3.2.0-1+pmx5, 3.2.0-1+pmx8), pve-xtermjs:amd64 (4.16.0-3, 5.3.0-3), qemu-server:amd64 (8.0.7, 8.0.10), libpve-access-control:amd64 (8.0.5, 8.0.7), pve-container:amd64 (5.0.5, 5.0.8), libproxmox-acme-plugins:amd64 (1.4.6, 1.5.0), pve-i18n:amd64 (3.0.7, 3.2.0), base-files:amd64 (12.4+deb12u2, 12.4+deb12u4), gnutls-bin:amd64 (3.7.9-2, 3.7.9-2+deb12u1), proxmox-backup-client:amd64 (3.0.4-1, 3.1.2-1), distro-info-data:amd64 (0.58, 0.58+deb12u1), grub-efi-amd64-bin:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), grub2-common:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), libpve-http-server-perl:amd64 (5.0.4, 5.0.5), pve-manager:amd64 (8.0.4, 8.1.4), libpve-common-perl:amd64 (8.0.9, 8.1.0), perl-base:amd64 (5.36.0-7, 5.36.0-7+deb12u1), openssh-sftp-server:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), grub-common:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), libsystemd-shared:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libzfs4linux:amd64 (2.1.13-pve1, 2.2.2-pve1), systemd-sysv:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libgnutls30:amd64 (3.7.9-2, 3.7.9-2+deb12u1), curl:amd64 (7.88.1-10+deb12u4, 7.88.1-10+deb12u5), perl-modules-5.36:amd64 (5.36.0-7, 5.36.0-7+deb12u1), libgnutlsxx30:amd64 (3.7.9-2, 3.7.9-2+deb12u1), libpq5:amd64 (15.3-0+deb12u1, 15.5-0+deb12u1), grub-pc:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), proxmox-kernel-helper:amd64 (8.0.3, 8.1.0), libgnutls-dane0:amd64 (3.7.9-2, 3.7.9-2+deb12u1), pve-edk2-firmware:amd64 (3.20230228-4, 4.2023.08-3), zfsutils-linux:amd64 (2.1.13-pve1, 2.2.2-pve1), postfix:amd64 (3.7.6-0+deb12u2, 3.7.9-0+deb12u1), libpve-cluster-perl:amd64 (8.0.4, 8.0.5) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:00:52 Start-Date: 2024-01-23 11:01:51 Commandline: apt --fix-broken install Upgrade: libperl5.36:amd64 (5.36.0-7, 5.36.0-7+deb12u1), perl-modules-5.36:amd64 (5.36.0-7, 5.36.0-7+deb12u1) End-Date: 2024-01-23 11:01:52 Start-Date: 2024-01-23 11:02:07 Commandline: apt upgrade Install: pve-edk2-firmware-ovmf:amd64 (4.2023.08-3, automatic), proxmox-kernel-6.2.16-20-pve:amd64 (6.2.16-20, automatic), pve-edk2-firmware-legacy:amd64 (4.2023.08-3, automatic), libsocket6-perl:amd64 (0.29-3, automatic), proxmox-kernel-6.5:amd64 (6.5.11-7, automatic), proxmox-kernel-6.5.11-7-pve-signed:amd64 (6.5.11-7, automatic), libpve-network-perl:amd64 (0.9.5, automatic), libpve-notify-perl:amd64 (8.0.5, automatic), fonts-font-logos:amd64 (1.0.1-3, automatic), libnet-subnet-perl:amd64 (1.03-2, automatic), proxmox-termproxy:amd64 (1.0.1, automatic) Upgrade: libcups2:amd64 (2.4.2-3+deb12u4, 2.4.2-3+deb12u5), pve-docs:amd64 (8.0.5, 8.1.3), libcurl4:amd64 (7.88.1-10+deb12u4, 7.88.1-10+deb12u5), udev:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), proxmox-backup-restore-image:amd64 (0.5.1, 0.6.0), proxmox-default-kernel:amd64 (1.0.0, 1.0.1), libnghttp2-14:amd64 (1.52.0-1, 1.52.0-1+deb12u1), libcurl3-gnutls:amd64 (7.88.1-10+deb12u4, 7.88.1-10+deb12u5), openssh-client:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), proxmox-widget-toolkit:amd64 (4.0.9, 4.1.3), libpve-rs-perl:amd64 (0.8.5, 0.8.8), pve-firmware:amd64 (3.8-3, 3.9-1), tzdata:amd64 (2023c-5, 2023c-5+deb12u1), zfs-zed:amd64 (2.1.13-pve1, 2.2.2-pve1), libpam-systemd:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), zfs-initramfs:amd64 (2.1.13-pve1, 2.2.2-pve1), spl:amd64 (2.1.13-pve1, 2.2.2-pve1), ssh:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), pve-qemu-kvm:amd64 (8.0.2-7, 8.1.2-6), libnvpair3linux:amd64 (2.1.13-pve1, 2.2.2-pve1), proxmox-mail-forward:amd64 (0.2.0, 0.2.3), libproxmox-acme-perl:amd64 (1.4.6, 1.5.0), libpve-cluster-api-perl:amd64 (8.0.4, 8.0.5), pve-ha-manager:amd64 (4.0.2, 4.0.3), grub-pc-bin:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), lxcfs:amd64 (5.0.3-pve3, 5.0.3-pve4), libproxmox-backup-qemu0:amd64 (1.4.0, 1.4.1), libuutil3linux:amd64 (2.1.13-pve1, 2.2.2-pve1), libpve-storage-perl:amd64 (8.0.2, 8.0.5), libsystemd0:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libzpool5linux:amd64 (2.1.13-pve1, 2.2.2-pve1), libnss-systemd:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libpve-guest-common-perl:amd64 (5.0.5, 5.0.6), openssh-server:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), proxmox-kernel-6.2:amd64 (6.2.16-19, 6.2.16-20), pve-cluster:amd64 (8.0.4, 8.0.5), systemd:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libproxmox-rs-perl:amd64 (0.3.1, 0.3.3), libudev1:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), proxmox-ve:amd64 (8.0.2, 8.1.0), novnc-pve:amd64 (1.4.0-2, 1.4.0-3), proxmox-backup-file-restore:amd64 (3.0.4-1, 3.1.2-1), ifupdown2:amd64 (3.2.0-1+pmx5, 3.2.0-1+pmx8), pve-xtermjs:amd64 (4.16.0-3, 5.3.0-3), qemu-server:amd64 (8.0.7, 8.0.10), libpve-access-control:amd64 (8.0.5, 8.0.7), pve-container:amd64 (5.0.5, 5.0.8), libproxmox-acme-plugins:amd64 (1.4.6, 1.5.0), pve-i18n:amd64 (3.0.7, 3.2.0), gnutls-bin:amd64 (3.7.9-2, 3.7.9-2+deb12u1), proxmox-backup-client:amd64 (3.0.4-1, 3.1.2-1), distro-info-data:amd64 (0.58, 0.58+deb12u1), grub-efi-amd64-bin:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), grub2-common:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), libpve-http-server-perl:amd64 (5.0.4, 5.0.5), pve-manager:amd64 (8.0.4, 8.1.4), libpve-common-perl:amd64 (8.0.9, 8.1.0), openssh-sftp-server:amd64 (1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2), grub-common:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), libsystemd-shared:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libzfs4linux:amd64 (2.1.13-pve1, 2.2.2-pve1), systemd-sysv:amd64 (252.17-1~deb12u1, 252.19-1~deb12u1), libgnutls30:amd64 (3.7.9-2, 3.7.9-2+deb12u1), curl:amd64 (7.88.1-10+deb12u4, 7.88.1-10+deb12u5), libgnutlsxx30:amd64 (3.7.9-2, 3.7.9-2+deb12u1), libpq5:amd64 (15.3-0+deb12u1, 15.5-0+deb12u1), grub-pc:amd64 (2.06-13+deb12u1, 2.06-13+pmx1), proxmox-kernel-helper:amd64 (8.0.3, 8.1.0), libgnutls-dane0:amd64 (3.7.9-2, 3.7.9-2+deb12u1), pve-edk2-firmware:amd64 (3.20230228-4, 4.2023.08-3), zfsutils-linux:amd64 (2.1.13-pve1, 2.2.2-pve1), postfix:amd64 (3.7.6-0+deb12u2, 3.7.9-0+deb12u1), libpve-cluster-perl:amd64 (8.0.4, 8.0.5) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:04:04 Start-Date: 2024-01-23 11:04:26 Commandline: apt upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:04:28 Start-Date: 2024-01-23 11:06:32 Commandline: apt-get dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:06:34 Start-Date: 2024-01-23 11:06:48 Commandline: apt-get dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:06:50 Start-Date: 2024-01-23 11:09:21 Commandline: apt-get dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:09:23 Start-Date: 2024-01-23 11:09:39 Commandline: apt-get dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:09:41 Start-Date: 2024-01-23 11:10:37 Commandline: apt -f install Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:10:39 Start-Date: 2024-01-23 11:13:29 Commandline: apt dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:13:31 Start-Date: 2024-01-23 11:16:38 Commandline: apt-get --fix-broken upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:16:40 Start-Date: 2024-01-23 11:21:55 Commandline: apt-get dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 11:21:57 Start-Date: 2024-01-23 13:03:38 Commandline: apt-get dist-upgrade Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2024-01-23 13:03:40 root@pve-1:/etc/apt/sources.list.d#
 
you could add an "exit 0" after the "set .." line at the top of /var/lib/dpkg/info/pve-manager.postinst and retry. if that looks okay, please run "apt clean; apt install --reinstall pve-manager" afterwards.
 
you could add an "exit 0" after the "set .." line at the top of /var/lib/dpkg/info/pve-manager.postinst and retry. if that looks okay, please run "apt clean; apt install --reinstall pve-manager" afterwards.
Thanks for continued support, it got closer.....

root@pve-1:/var/lib/dpkg/info# cp pve-manager.postinst /tmp/pve-manager.postinst root@pve-1:/var/lib/dpkg/info# nano pve-manager.postinst

1706086214604.png

root@pve-1:/var/lib/dpkg/info# apt update Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB] Hit:2 http://ftp.uk.debian.org/debian bookworm InRelease Get:3 http://ftp.uk.debian.org/debian bookworm-updates InRelease [52.1 kB] Get:4 http://security.debian.org bookworm-security/main amd64 Packages [134 kB] Hit:5 http://download.proxmox.com/debian/pve bookworm InRelease Fetched 234 kB in 1s (422 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. root@pve-1:/var/lib/dpkg/info# apt-get dist-upgrade 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: guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 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-manager (8.1.4) ... Setting up proxmox-ve (8.1.0) ... root@pve-1:/var/lib/dpkg/info# apt clean root@pve-1:/var/lib/dpkg/info# apt clean; apt install --reinstall pve-manager Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 520 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-manager amd64 8.1.4 [520 kB] Fetched 520 kB in 0s (1,616 kB/s) (Reading database ... 101474 files and directories currently installed.) Preparing to unpack .../pve-manager_8.1.4_amd64.deb ... Unpacking pve-manager (8.1.4) over (8.1.4) ... Setting up pve-manager (8.1.4) ... Job for pvedaemon.service failed. See "systemctl status pvedaemon.service" and "journalctl -xeu pvedaemon.service" for details. dpkg: error processing package pve-manager (--configure): installed pve-manager package post-installation script subprocess returned error exit status 1 Processing triggers for man-db (2.11.2-2) ... Errors were encountered while processing: pve-manager E: Sub-process /usr/bin/dpkg returned an error code (1) root@pve-1:/var/lib/dpkg/info#
 
can you post the following?

Code:
dpkg -l "*perl*" | grep '^ii'

it will probably be a long list, please post it in CODE tags (not ICODE) or attach it as file
 
can you post the following?

Code:
dpkg -l "*perl*" | grep '^ii'

it will probably be a long list, please post it in CODE tags (not ICODE) or attach it as file
Code:
root@pve-1:/var/lib/dpkg/info# dpkg -l "*perl*" | grep '^ii'
ii  libanyevent-http-perl              2.25-2                         all          simple non-blocking HTTP/HTTPS client
ii  libanyevent-perl                   7.170-2+b3                     amd64        event loop framework with multiple implementations
ii  libappconfig-perl                  1.71-2.2                       all          Perl module for configuration file and command line handling
ii  libapt-pkg-perl                    0.1.40+b2                      amd64        Perl interface to libapt-pkg
ii  libauthen-pam-perl                 0.16-5+b1                      amd64        Perl interface to PAM library
ii  libbytes-random-secure-perl        0.29-3                         all          Perl extension to generate cryptographically-secure random bytes
ii  libclone-perl:amd64                0.46-1                         amd64        module for recursively copying Perl datatypes
ii  libcommon-sense-perl:amd64         3.75-3                         amd64        module that implements some sane defaults for Perl programs
ii  libconvert-asn1-perl               0.33-1                         all          Perl module for encoding and decoding ASN.1 data structures
ii  libcrypt-openssl-bignum-perl       0.09-2+b1                      amd64        Perl module to access OpenSSL multiprecision integer arithmetic libraries
ii  libcrypt-openssl-random-perl:amd64 0.15-3+b1                      amd64        module to access the OpenSSL pseudo-random number generator
ii  libcrypt-openssl-rsa-perl:amd64    0.33-3+b1                      amd64        module for RSA encryption using OpenSSL
ii  libcrypt-random-seed-perl          0.03-3                         all          Perl module providing strong randomness for seeding
ii  libcrypt-ssleay-perl               0.73.06-2+b1                   amd64        OpenSSL support for LWP
ii  libdevel-cycle-perl                1.12-2                         all          Perl module to detect memory cycles in Perl objects
ii  libdigest-hmac-perl                1.04+dfsg-2                    all          module for creating standard message integrity checks
ii  libencode-locale-perl              1.05-3                         all          utility to determine the locale encoding
ii  libfile-chdir-perl                 0.1008-1.1                     all          more sensible way to change directories
ii  libfile-find-rule-perl             0.34-3                         all          module to search for files based on rules
ii  libfile-listing-perl               6.15-1                         all          module to parse directory listings
ii  libfile-readbackwards-perl         1.06-2                         all          Perl module for reading a file backwards by lines
ii  libfilesys-df-perl                 0.92-7+b1                      amd64        Module to obtain filesystem disk space information
ii  libhtml-parser-perl:amd64          3.81-1                         amd64        collection of modules that parse HTML text documents
ii  libhtml-tagset-perl                3.20-6                         all          data tables pertaining to HTML
ii  libhtml-tree-perl                  5.07-3                         all          Perl module to represent and create HTML syntax trees
ii  libhttp-cookies-perl               6.10-1                         all          HTTP cookie jars
ii  libhttp-daemon-perl                6.16-1                         all          simple http server class
ii  libhttp-date-perl                  6.05-2                         all          module of date conversion routines
ii  libhttp-message-perl               6.44-1                         all          perl interface to HTTP style messages
ii  libhttp-negotiate-perl             6.01-2                         all          implementation of content negotiation
ii  libio-html-perl                    1.004-3                        all          open an HTML file with automatic charset detection
ii  libio-multiplex-perl               1.16-3                         all          object-oriented interface to select() for Perl
ii  libio-socket-ssl-perl              2.081-2                        all          Perl module implementing object oriented interface to SSL sockets
ii  libio-stringy-perl                 2.111-3                        all          modules for I/O on in-core objects (strings/arrays)
ii  libjson-perl                       4.10000-1                      all          module for manipulating JSON-formatted data
ii  libjson-xs-perl                    4.030-2+b1                     amd64        module for manipulating JSON-formatted data (C/XS-accelerated)
ii  liblinux-inotify2-perl             1:2.3-2                        amd64        scalable directory and file change notification
ii  liblocale-gettext-perl             1.07-5                         amd64        module using libc functions for internationalization in Perl
ii  liblwp-mediatypes-perl             6.04-2                         all          module to guess media type for a file or a URL
ii  liblwp-protocol-https-perl         6.10-1                         all          HTTPS driver for LWP::UserAgent
ii  libmath-random-isaac-perl          1.004-2                        all          Perl interface to the ISAAC PRNG Algorithm
ii  libmime-base32-perl                1.303-3                        all          Base32 encoder/decoder
ii  libnet-dbus-perl                   1.2.0-2                        amd64        Perl extension for the DBus bindings
ii  libnet-dns-perl                    1.36-1                         all          module to perform DNS queries
ii  libnet-http-perl                   6.22-1                         all          module providing low-level HTTP connection client
ii  libnet-ip-perl                     1.26-3                         all          Perl extension for manipulating IPv4/IPv6 addresses
ii  libnet-ldap-perl                   1:0.6800+dfsg-1                all          client interface to LDAP servers
ii  libnet-libidn2-perl                1.01-2+b1                      amd64        Perl bindings for GNU Libidn2
ii  libnet-ssleay-perl:amd64           1.92-2+b1                      amd64        Perl module for Secure Sockets Layer (SSL)
ii  libnet-subnet-perl                 1.03-2                         all          Fast IP-in-subnet matcher module for IPv4 and IPv6
ii  libnetaddr-ip-perl                 4.079+dfsg-2+b1                amd64        IP address manipulation module
ii  libnumber-compare-perl             0.03-3                         all          module for performing numeric comparisons in Perl
ii  libperl5.32:amd64                  5.32.1-4+deb11u2               amd64        shared Perl library
ii  libperl5.36:amd64                  5.36.0-7+deb12u1               amd64        shared Perl library
ii  libposix-strptime-perl             0.13-2+b1                      amd64        Perl extension to the POSIX date parsing strptime(3) function
ii  libproxmox-acme-perl               1.5.0                          all          Proxmox ACME integration perl library
ii  libproxmox-rs-perl                 0.3.3                          amd64        PVE/PMG common perl parts for Rust perlmod bindings
ii  libpve-apiclient-perl              3.3.1                          all          Proxmox VE API client library
ii  libpve-cluster-api-perl            8.0.5                          all          Proxmox Virtual Environment cluster Perl API modules.
ii  libpve-cluster-perl                8.0.5                          all          Proxmox Virtual Environment cluster Perl modules.
ii  libpve-common-perl                 8.1.0                          all          Proxmox VE base library
ii  libpve-guest-common-perl           5.0.6                          all          Proxmox VE common guest-related modules
ii  libpve-http-server-perl            5.0.5                          all          Proxmox Asynchrounous HTTP Server Implementation
ii  libpve-network-perl                0.9.5                          all          Proxmox VE's SDN (Software Defined Network) stack
ii  libpve-notify-perl                 8.0.5                          all          Notify helper module.
ii  libpve-rs-perl                     0.8.8                          amd64        PVE parts which have been ported to Rust - Rust source code
ii  libpve-storage-perl                8.0.5                          all          Proxmox VE storage management library
ii  libpve-u2f-server-perl             1.2.0                          amd64        Perl bindings for libu2f-server
ii  librados2-perl                     1.4.1                          amd64        Perl bindings for librados
ii  libregexp-ipv6-perl                0.03-3                         all          Regular expression for IPv6 addresses
ii  librrds-perl:amd64                 1.7.2-4+b8                     amd64        time-series data storage and display system (Perl interface, shared)
ii  libsocket6-perl                    0.29-3                         amd64        Perl extensions for IPv6
ii  libstring-shellquote-perl          1.04-3                         all          module to quote strings for passing through the shell
ii  libtemplate-perl                   2.27-1+b5                      amd64        "Template Toolkit" template processing system in Perl
ii  libterm-readline-gnu-perl          1.45-1                         amd64        Perl extension for the GNU ReadLine/History Library
ii  libtext-charwidth-perl:amd64       0.04-11                        amd64        get display widths of characters on the terminal
ii  libtext-glob-perl                  0.11-3                         all          Perl module for matching globbing patterns against text
ii  libtext-iconv-perl:amd64           1.7-8                          amd64        module to convert between character sets in Perl
ii  libtext-wrapi18n-perl              0.06-10                        all          internationalized substitute of Text::Wrap
ii  libtimedate-perl                   2.3300-2                       all          collection of modules to manipulate date/time information
ii  libtry-tiny-perl                   0.31-2                         all          module providing minimalistic try/catch
ii  libtypes-serialiser-perl           1.01-1                         all          module providing simple data types for common serialisation formats
ii  liburi-perl                        5.17-1                         all          module to manipulate and access URI strings
ii  libuuid-perl                       0.28-2+b1                      amd64        Perl extension for using UUID interfaces as defined in e2fsprogs
ii  libwww-perl                        6.68-1                         all          simple and consistent interface to the world-wide web
ii  libwww-robotrules-perl             6.02-1                         all          database of robots.txt-derived permissions
ii  libxml-libxml-perl                 2.0207+dfsg+really+2.0134-1+b1 amd64        Perl interface to the libxml2 library
ii  libxml-namespacesupport-perl       1.12-2                         all          Perl module for supporting simple generic namespaces
ii  libxml-parser-perl                 2.46-4                         amd64        Perl module for parsing XML files
ii  libxml-sax-base-perl               1.09-3                         all          base class for SAX drivers and filters
ii  libxml-sax-perl                    1.02+dfsg-3                    all          Perl module for using and building Perl SAX2 XML processors
ii  libxml-twig-perl                   1:3.52-2                       all          Perl module for processing huge XML documents in tree mode
ii  libyaml-libyaml-perl               0.86+ds-1                      amd64        Perl interface to libyaml, a YAML implementation
ii  perl                               5.36.0-7+deb12u1               amd64        Larry Wall's Practical Extraction and Report Language
ii  perl-base                          5.36.0-7+deb12u1               amd64        minimal Perl system
ii  perl-modules-5.32                  5.32.1-4+deb11u2               all          Core Perl modules
ii  perl-modules-5.36                  5.36.0-7+deb12u1               all          Core Perl modules
ii  perl-openssl-defaults:amd64        7+b1                           amd64        version compatibility baseline for Perl OpenSSL packages
root@pve-1:/var/lib/dpkg/info#
 
okay - now please "sha256sum /usr/share/perl/5.36/Math/BigInt/Lib.pm"
 
okay - now please "sha256sum /usr/share/perl/5.36/Math/BigInt/Lib.pm"
Code:
root@pve-1:/var/lib/dpkg/info# sha256sum /usr/share/perl/5.36/Math/BigInt/Lib.pm
78f947b8d510dcddb4cd57d7cdc8a71b66d2bc9e6d820f4bcaa45054ccb7185f  /usr/share/perl/5.36/Math/BigInt/Lib.pm
root@pve-1:/var/lib/dpkg/info#
 
that file is corrupt, so maybe try the following next:

"apt install --reinstall perl-modules-5.36"
 
that file is corrupt, so maybe try the following next:

"apt install --reinstall perl-modules-5.36"

Thanks so much for your help, I guess Im heading towards a re-install here?


Code:
root@pve-1:/var/lib/dpkg/info# sha256sum /usr/share/perl/5.36/Math/BigInt/Lib.pm
78f947b8d510dcddb4cd57d7cdc8a71b66d2bc9e6d820f4bcaa45054ccb7185f  /usr/share/perl/5.36/Math/BigInt/Lib.pm
root@pve-1:/var/lib/dpkg/info# apt install --reinstall perl-modules-5.36
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,815 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2,815 kB]
Fetched 2,815 kB in 0s (14.5 MB/s)         
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) over (5.36.0-7+deb12u1) ...
Setting up pve-manager (8.1.4) ...
Job for pvedaemon.service failed.
See "systemctl status pvedaemon.service" and "journalctl -xeu pvedaemon.service" for details.
dpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess returned error exit status 1
Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
Errors were encountered while processing:
 pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve-1:/var/lib/dpkg/info# nano /var/lib/dpkg/info/pve-manager.postinst

Code:
root@pve-1:/var/lib/dpkg/info# apt update
Hit:1 http://ftp.uk.debian.org/debian bookworm InRelease
Hit:2 http://ftp.uk.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org bookworm-security InRelease
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done         
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@pve-1:/var/lib/dpkg/info# apt clean
root@pve-1:/var/lib/dpkg/info# apt install --reinstall perl-modules-5.36
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,815 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2,815 kB]
Fetched 2,815 kB in 0s (20.3 MB/s)         
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) over (5.36.0-7+deb12u1) ...
Setting up pve-manager (8.1.4) ...
Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
root@pve-1:/var/lib/dpkg/info# apt clean; apt install --reinstall pve-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 520 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-manager amd64 8.1.4 [520 kB]
Fetched 520 kB in 0s (4,130 kB/s)   
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../pve-manager_8.1.4_amd64.deb ...
Unpacking pve-manager (8.1.4) over (8.1.4) ...
Setting up pve-manager (8.1.4) ...
Job for pvebanner.service failed because a fatal signal was delivered to the control process.
See "systemctl status pvebanner.service" and "journalctl -xeu pvebanner.service" for details.
dpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-2) ...
double free or corruption (out)
Aborted
Errors were encountered while processing:
 pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve-1:/var/lib/dpkg/info#
 
Thanks so much for your help, I guess Im heading towards a re-install here?


Code:
root@pve-1:/var/lib/dpkg/info# sha256sum /usr/share/perl/5.36/Math/BigInt/Lib.pm
78f947b8d510dcddb4cd57d7cdc8a71b66d2bc9e6d820f4bcaa45054ccb7185f  /usr/share/perl/5.36/Math/BigInt/Lib.pm
root@pve-1:/var/lib/dpkg/info# apt install --reinstall perl-modules-5.36
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,815 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2,815 kB]
Fetched 2,815 kB in 0s (14.5 MB/s)        
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) over (5.36.0-7+deb12u1) ...
Setting up pve-manager (8.1.4) ...
Job for pvedaemon.service failed.
See "systemctl status pvedaemon.service" and "journalctl -xeu pvedaemon.service" for details.
dpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess returned error exit status 1
Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
Errors were encountered while processing:
 pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve-1:/var/lib/dpkg/info# nano /var/lib/dpkg/info/pve-manager.postinst

Code:
root@pve-1:/var/lib/dpkg/info# apt update
Hit:1 http://ftp.uk.debian.org/debian bookworm InRelease
Hit:2 http://ftp.uk.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org bookworm-security InRelease
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done        
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@pve-1:/var/lib/dpkg/info# apt clean
root@pve-1:/var/lib/dpkg/info# apt install --reinstall perl-modules-5.36
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,815 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2,815 kB]
Fetched 2,815 kB in 0s (20.3 MB/s)        
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) over (5.36.0-7+deb12u1) ...
Setting up pve-manager (8.1.4) ...
Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
root@pve-1:/var/lib/dpkg/info# apt clean; apt install --reinstall pve-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 520 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-manager amd64 8.1.4 [520 kB]
Fetched 520 kB in 0s (4,130 kB/s)  
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../pve-manager_8.1.4_amd64.deb ...
Unpacking pve-manager (8.1.4) over (8.1.4) ...
Setting up pve-manager (8.1.4) ...
Job for pvebanner.service failed because a fatal signal was delivered to the control process.
See "systemctl status pvebanner.service" and "journalctl -xeu pvebanner.service" for details.
dpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-2) ...
double free or corruption (out)
Aborted
Errors were encountered while processing:
 pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve-1:/var/lib/dpkg/info#
Actually seems I may have it:

Code:
root@pve-1:/var/lib/dpkg/info# apt-get dist-upgrade
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:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@pve-1:/var/lib/dpkg/info# apt clean; apt install --reinstall pve-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 520 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-manager amd64 8.1.4 [520 kB]
Fetched 520 kB in 0s (4,007 kB/s)   
(Reading database ... 101474 files and directories currently installed.)
Preparing to unpack .../pve-manager_8.1.4_amd64.deb ...
Unpacking pve-manager (8.1.4) over (8.1.4) ...
Setting up pve-manager (8.1.4) ...
Processing triggers for man-db (2.11.2-2) ...
root@pve-1:/var/lib/dpkg/info#

Should I remove these packages:

Code:
The following packages were automatically installed and are no longer required:
  guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
 
next, I would install debsums and check for other corruption with "debsums -c", followed by checking memory and disks for signs of hardware issues..
 
next, I would install debsums and check for other corruption with "debsums -c", followed by checking memory and disks for signs of hardware issues..
Thanks very much for your kind support fabian, Ive had the server up and working since this morning. Ive been able ot transfer most of my VMs off to other hosts in the cluster while i take a better look.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!