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.
 

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!