Re: purging linux-image-2.6.18.1
[Eek. Top-posting evil!]
On Wed, Nov 08, 2006 at 09:05:25PM +0100, Gudjon I. Gudjonsson wrote:
> Þann Miðvikudagur 08 nóvember 2006 19:41 skrifaði Seb:
> > dpkg: error processing linux-image-2.6.18-1-amd64 (--purge):
> > subprocess post-removal script returned error exit status 128
> > Errors were encountered while processing:
> > linux-image-2.6.18-1-amd64
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> >
> > Can somebody point out how this can be resolved? Thanks.
> I have had such problems several times and I have always resolved them by
> editing /var/lib/dpkg/status by hand, setting the status of the corresponding
> package to not-installed.
> This has worked but it is not the preferred solution. If anyone knows a
> better solution please tell.
Better is to edit /var/lib/dpkg/info/<package>.postrm and either fix it
(and report a bug) or at least modify it so that it doesn't fail (eg
remove it). Then --purge will succeed.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
Reply to: