- I'm encountering an issue when trying to remove a specific Linux kernel package on my Ubuntu system. The error seems to be related to a post-removal script that updates the GRUB bootloader configuration. Here are the details of the problem:
- I attempted to remove the package linux-image-6.2.0-35-generic using sudo apt-get remove --purge linux-image-6.2.0-35-generic.
- But not fix the issue how can I fix this error please help Me.
/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
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
means something is broken in your grub customizer setup. This is likely the base cause of your issue. I would suggest completely removing grub customizer if you can - after taking a clone or other backup of your system. – Organic Marble Nov 07 '23 at 13:51