[Debian GNUstep maintainers] Bug#605565: Reopen Bug#605565: gnustep-base-runtime still fails to remove/upgrade if gdomap is not running

Julien Cristau jcristau at debian.org
Thu Dec 23 19:15:10 UTC 2010


On Thu, Dec  9, 2010 at 19:09:11 +0200, Yavor Doganov wrote:

> tags 605565 + help
> thanks
> 
> On Mon, Dec 06, 2010 at 11:53:55AM +0100, Axel Beckert wrote:
> > > I'm sorry to report this, but gnustep-base-runtime 1.20.1-5 fails to
> > > upgrade on one of my machines due to a not running gdomap.
> > 
> > Two machines actually.
> 
> Yes, the prerm script is being run before the fixed initscript is 
> replaced, so without --oknodo it fails if the daemon is not running...
> 
> Any idea what's the right approach to fix this problem?
> 
> The only thing that comes to my mind right now is to replace (temporarily)
> dh_installinit's standard snippet in the prerm, ignoring errors -- which 
> looks utterly wrong to me for obvious reasons.
> 
If that's an option for this daemon, you could use the -R option to
dh_installinit.  Or, in the new prerm, if the old version is one that
doesn't have --oknodo in its init script, stop the daemon manually
instead of through the init script and debhelper's standard snippet.

Cheers,
Julien


More information about the pkg-GNUstep-maintainers mailing list