Sure. Here it is:
root@pve:~# cat /etc/kernel/postrm.d/zz-proxmox-boot
#! /bin/sh
# shellcheck disable=SC2317 # Don't warn about unreachable commands in this file
set -e
# adapted from '/etc/kernel/postinst.d/zz-update-grub and
#...
unfortunately this had no effect :(
This is the output of your first command:
root@pve:~# bash -x /etc/kernel/postrm.d/zz-proxmox-boot 6.17.13-13-pve /boot/vmlinuz-6.17.13-13-pve
+ set -e
+ command -V systemd-detect-virt
+ systemd-detect-virt...
Hello.
I have some problems uninstalling an old kenel package
proxmox-kernel-6.17.13-13-pve-signed
apt autoremove shows this:
root@pve:/# apt autoremove
REMOVING:
proxmox-kernel-6.17.13-13-pve-signed
Summary...