我在尝试删除 Ubuntu 系统上的特定 Linux 内核包时遇到问题。该错误似乎与更新 GRUB 引导加载程序配置的删除后脚本有关。以下是问题的详细信息:
我尝试使用 删除软件包 linux-image-6.2.0-35-generic sudo apt-get remove --purge linux-image-6.2.0-35-generic
。
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.2.0-35-generic (--remove):
installed linux-image-6.2.0-35-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-6.2.0-35-generic**