On Thu, Oct 22, 2026 at 12:28:45PM +0200, Nicolas George wrote:
> Hi.
>
> Detlef Vollmann (HE12026-10-22):
[...]
> > I could create some dummy script that makes sure the prerm script
> > doesn't fail, but I'm curious if there's an "official" way to do it.
>
> Start by looking at the prerm script and find out WHY it fails.
This.
As a last ditch, your prerm script is in
/var/lib/dpkg/info/<your-package>.prerm
So you can "just remove it" or insert some "exit 0" at an appropriate
place.
*BUT*
as Nicolas says, perhaps the script is trying to do something useful
and can't, for some reason. So understanding that might improve your
installation's integrity and longevity ;-)
Plus, you might discover a bug in the package, who knows.
Cheers
--
t