APT update / upgrade does not work, pls help

wangdongcn

New Member
Jan 27, 2024
1
0
1
Hi,
I try to update PVE from 7.4-17 to 8.x version

but it always show the info as follow

E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

please advice how to solove this issue, thanks

Regards
 
If you are running the APT update via the GUI, please post the entire Task log for the failed update.

If you run a manual apt update and apt dist-upgrade on the shell, what is the outpute there?

Best regards,
Stefan
 
Last edited:
It seems most suggested the apt update and apt upgrade, apt dist-upgrade and apt full-upgrade. Well I figured it out.... there were some packages that were no longer needed and cause a conflict for the upgrade. I ran "apt autoremove" then apt update and finally apt upgrade.