Re: dpkg purge problem
On Wednesday 01 August 2007, Bob Proulx wrote:
/boot/grub/menu.lst is not corrupted
> After fixing and running update-grub inspect the file. If update-grub
> runs without hanging then you should be able to purge the package.
> If all else fails and a package simply will not pass the prerm or
> postrm scripts then a reach-into-the-guts of the system approach is to
> edit the /var/lib/dpkg/info/linux-image-2.6.14-2-k7.prerm and/or
> /var/lib/dpkg/info/linux-image-2.6.14-2-k7.postrm files and hack them
> to exit(0); so as to avoid the error. At that point dpkg will succeed
> without running the script. But it won't have run the script either
> and so that problem would need to be dealt with but some broken
> packages have required this.
Can I get postrm script form other linux-image and change only
my $version to be = "2.6.14-2-k7";