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

Re: Package gkrellmd won't upgrade



On Tue, Apr 22, 2008 at 02:38:29PM +0100, Steve Dobson wrote:
> Thanks for the suggestion but that isn't it.  The init script is not
> stopping the processes but even if I kill it by hand and then upgrade I
> still get the failure in the pre-removeal script.
> 
> So I hacked the init script to just return 0 which allowed the
> installation to finish at least.  Not a pretty way of doing this, I was
> just wondering if there was a better way.

Sometimes when the old package has a bug that prevents the prerm from
running, then upgrading becomes very hard.

I would have done the same thing you did.  Or maybe just make the
/var/lib/dpkg/info/packagename.prerm return 0 instead.

-- 
Len Sorensen


Reply to: