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

Re: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts

* Ian Jackson:

> Francesco P. Lovergine writes ("Re: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts"):
>> Unfortunately sometimes the daemon does not stop for an error in the
>> maintainer script and that prevents upgrading for ever, even when
>> the package has been corrected.  [...]
> If the old package's prerm fails, dpkg tries the version from the new
> package instead, precisely to avoid this problem.  See the policy
> manual for details.

And this doesn't help at allif the error is in the init script.  BTST.

Reply to: