Processing triggers for pve-ha-manager (4.0.7) ... BEGIN failed--compilation aborted, <DATA> line 960.

mosespray

New Member
May 24, 2025
13
3
3
I get an error when performing an upgrade from:
pve-manager/7.4-20/5d6e3351 (running kernel: 5.15.158-2-pve) to 8.4.1.

I do:


sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list

then:

echo "deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list

Then from the GUI, I delete the enterprise subscription and then click Upgrade > Refresh > Upgrade.
After a while I get the following:
Disconnecting ... (Detecting migration)
Processing triggers for pve-ha-manager (4.0.7) ...
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.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/lib/x86_64-linux-gnu/perl5/5.32/AptPkg/hash.pm line 20, <DATA> line 960.
BEGIN failed--compilation aborted, <DATA> line 960.
I am then abruptly logged out.
If I reboot and log back in, the system seems to be upgraded. I was just wondering why that error might be happening.
I am not sure how to install the AptPkg indicated above.

Thank you
 
Last edited:
if you deleted your subscription, you don't have access to the enterprise repository, so you tried to upgrade just the Debian packages, but not the PVE ones.. re-enable a PVE repository (you might need to use the no-subscription one, since you probably also broke "pvesubscription") and run apt update and post the output here..
 
if you deleted your subscription, you don't have access to the enterprise repository, so you tried to upgrade just the Debian packages, but not the PVE ones.. re-enable a PVE repository (you might need to use the no-subscription one, since you probably also broke "pvesubscription") and run apt update and post the output here..
Hi Fabian,
I appreciate your response. I am 99.9999... % certain that the no-subscription one was enabled.
Thank you.
Dave
 
could you please post the relevant (full!) entries in /var/log/apt/history.log and /var/log/apt/term.log (or their rotated variants, if already rotated)?