In February 2022, a buggy kernel update messed up my Win10 guest. I took the following steps and removed the problematic kernel.
apt remove pve-kernel-5.13.19-4-pve
pve-efiboot-tool refresh
pve-efiboot-tool kernel list
Ever since then whenever I tried to upgrade, I face errors like:
-----
...
79 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/138 MB of archives.
After this operation, 22.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
/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
System not fully up to date (found 82 new packages)
-----
Any ideas please?
apt remove pve-kernel-5.13.19-4-pve
pve-efiboot-tool refresh
pve-efiboot-tool kernel list
Ever since then whenever I tried to upgrade, I face errors like:
-----
...
79 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/138 MB of archives.
After this operation, 22.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
/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
System not fully up to date (found 82 new packages)
-----
Any ideas please?