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

esi_y

Renowned Member
Nov 29, 2023
2,221
385
68
github.com
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: