Hello,
I have the same problem on two pbs backup servers, running version: 1.1.13,
current kernel version: 5.4.106-1-pve
I can't do any update/install/uninstall due to the error:
If I try to manually uninstall the package with:
or apt install -f or apt autoremove, always the same error.
Indeed, there is no script existing on the path: /usr/share/pve-kernel-helper/scripts/functions
(this is invoked by /etc/kernel/postrm.d/proxmox-auto-removal ) , first lines are:
Even if I try to move manually files /var/lib/dpkg/info/linux-image-4.19.0-18-amd64* to some tmp directory and afterwards
with commands as apt clean && dpkg --configure -a,
after apt remove or autoremove, always the same error Can't open /usr/share/pve-kernel-helper/scripts/functions.
Any idea how to fix that properly?
Thanks.
I have the same problem on two pbs backup servers, running version: 1.1.13,
current kernel version: 5.4.106-1-pve
I can't do any update/install/uninstall due to the error:
Code:
(Reading database ... 78457 files and directories currently installed.)
Removing linux-image-4.19.0-16-amd64 (4.19.181-1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-16-amd64
/etc/kernel/postrm.d/proxmox-auto-removal:
/etc/kernel/postrm.d/proxmox-auto-removal: 4: .: Can't open /usr/share/pve-kernel-helper/scripts/functions
run-parts: /etc/kernel/postrm.d/proxmox-auto-removal exited with return code 127
dpkg: error processing package linux-image-4.19.0-16-amd64 (--remove):
installed linux-image-4.19.0-16-amd64 package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.19.0-16-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I try to manually uninstall the package with:
Bash:
apt remove linux-image-4.19.0-16-amd64
Indeed, there is no script existing on the path: /usr/share/pve-kernel-helper/scripts/functions
(this is invoked by /etc/kernel/postrm.d/proxmox-auto-removal ) , first lines are:
Bash:
#! /bin/sh
set -e
. /usr/share/pve-kernel-helper/scripts/functions
Even if I try to move manually files /var/lib/dpkg/info/linux-image-4.19.0-18-amd64* to some tmp directory and afterwards
with commands as apt clean && dpkg --configure -a,
after apt remove or autoremove, always the same error Can't open /usr/share/pve-kernel-helper/scripts/functions.
Any idea how to fix that properly?
Thanks.