[TUTORIAL] E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

esi_y

Active Member
Nov 29, 2023
796
105
43
If you have issue doing literally anything with apt (after you had removed some PVE package (typically only to intend to put it back), or even just the proxmox-ve meta package), a quick way out of the mess:

Code:
rm /etc/apt/apt.conf.d/10pveapthook

There's other ways to do it, but anyhow this is here to help anyone to deal with the bug.

EDIT: NOTE: Do this only if you know what you are doing, otherwise follow the on-screen warnings.
 
Last edited:
  • Like
Reactions: darren2517

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!