[Pkg-zope-developers] postrm calling /etc/init.d/zope and the zope2.7 package

Federico Sevilla III jijo@free.net.ph
Thu, 10 Mar 2005 22:41:40 +0800


Hi everyone,

I got this bug report for zope-externaleditor today. The postrm
dependency on the existence of /etc/init.d/zope is there to restart zope
after zope-externaleditor has been uninstalled.

I take it zope2.7 has a different init script? What's the correct fix
for this? Should I simply do a check to see if /etc/init.d/zope exists,
and if it doesn't, look for /etc/init.d/zope2.7? Or should I try and
restart both, whichever of them exists?

Or should zope2.7 provide an /etc/init.d/zope (which means it will
conflict with the older zope package)?

Thanks in advance!

 --> Jijo

----- Forwarded message from Dave Whiteley <d.l.whiteley@ee.leeds.ac.uk> -----
Subject: Bug#298862: zope-externaleditor De-Install bug
Reply-To: Dave Whiteley <d.l.whiteley@ee.leeds.ac.uk>,
	298862@bugs.debian.org
Date: Thu, 10 Mar 2005 12:21:48 +0000
From: Dave Whiteley <d.l.whiteley@ee.leeds.ac.uk>
To: submit@bugs.debian.org
Message-ID: <20050310122148.GJ11969@een-pc30.leeds.ac.uk>

Package: zope-externaleditor 
Version: 0.8-2

When trying to de-install zope with aptitude I get the messages:-



Removing zope-externaleditor ...
/var/lib/dpkg/info/zope-externaleditor.postrm: line 21: /etc/init.d/zope: No such file or directory
dpkg: error processing zope-externaleditor (--purge):
 subprocess post-removal script returned error exit status 1
Removing zope-epoz ...

...

Removing zope-pts ...
Purging configuration files for zope-pts ...
dpkg: zope2.7: dependency problems, but removing anyway as you request:
 zope-externaleditor depends on zope (>= 2.5.1-2.7) | zope2.7; however:
  Package zope is not installed.
  Package zope2.7 is to be removed.
 zope-externaleditor depends on zope (>= 2.5.1-2.7) | zope2.7; however:
  Package zope is not installed.
  Package zope2.7 is to be removed.
Removing zope2.7 ...
awk: warning: escape sequence `\.' treated as plain `.'
Purging configuration files for zope2.7 ...
Errors were encountered while processing:
 zope-externaleditor
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Press return to continue.


Dave

-- 

Dave Whiteley
d.l.whiteley@ee.leeds.ac.uk
Phone +44 (0)113 343 2059
School of Electronic and Electrical Engineering
The University of Leeds. Leeds, LS2 9JT,  UK


----- End forwarded message -----

-- 
Federico Sevilla III : jijo.free.net.ph : When we speak of free software
GNU/Linux Specialist : GnuPG 0x93B746BE : we refer to freedom, not price.