[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg purge problem



Alexandar Angelov wrote:
> Bob Proulx wrote:
> > After fixing and running update-grub inspect the file.  If update-grub
> > runs without hanging then you should be able to purge the package.

Does running update-grub by itself complete?  Or hang?

> > 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";

I don't think that will help since it is very unlikely that the kernel
prerm and postrm scripts are the problem.

Bob



Reply to: