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

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

Florian Weimer writes ("Re: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts"):
> Ian Jackson:
> > 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.

It means that the new package can detect the problem and fix it up.
Eg, it can stop the daemon manually and not mind that the rc script


Reply to: