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

Re: dpkg purge problem



On Thursday 02 August 2007, Salvatore Bonaccorso wrote:
> I can't help you to solve the problem, to say it first. But I had the
> exactly the same Problem with a self-compiled 2.6.14 kernel (from the
> kernel-source-2.6.14 package) and packaged with make-kpkg.
Yes I compile with make-kpkg.
> Trying to "remove" the package worked everytime fine, put when I tried
> to purge the 2.6.14-kernel then I got the same error as You. I
> unfurtunatly don't remember with which "version" of make-kpkg (i.e.
> kernel-package) i compiled it, but comparing then the remove-script of
> my kernel-image-2.6.14 deb there was a difference with later
> remove-scripts. Maybee so a "idea" could be to analize the
> remove-script under /var/lib/dpkg/info in the (probably) apropriate
> postrm-Script?
>

I compare /var/lib/dpkg/info/linux-image-2.6.14-2-k7.postrm 
with /var/lib/dpkg/info/linux-image-2.6.22-1-k7.postrm and scripts are not so 
different.
I copy /var/lib/dpkg/info/linux-image-2.6.22-1-k7.postrm 
to /var/lib/dpkg/info/linux-image-2.6.14-2-k7.postrm and change only the my 
$version variable.
dpkg purge complete successefully and I think that maybe solved the problem.


Alexandar Angelov.



Reply to: