On a clean debian install proxmox did not start. I apt removed it and then wanted to add it again. then I get an error running apt:
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (127)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
root@debian:/home/proximity# vi /usr/share/proxmox-ve/pve-apt-hook
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (127)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
root@debian:/home/proximity# vi /usr/share/proxmox-ve/pve-apt-hook