[Pkg-zope-developers] Re: Zope 2.7 packages for testing purpose?
A Mennucc
mennucc1@debian.org
Wed, 5 May 2004 09:41:52 +0200
On Tue, May 04, 2004 at 12:07:06PM +0200, Andreas Tille wrote:
> On Tue, 4 May 2004, A Mennucc wrote:
>
> > I need access to aliot, and some explanations on how/what/where
> > to upload
> I added you to the list of developers. I have no idea whether these
> permissions suffice. I'm an Alioth-Newcommer myself.
>
> > they are in
> > http://tonelli.sns.it/pub/zope/debian/sid
>
> Comments:
>
> 1. Just from memory: There were some issues with /etc/logrotate.d/zope
> fixed in one of the latest uploads. I just want to be sure that
> you kept these changes ...
zope 2.7 is happily rotating its logs for my web site, since it was installed
some months ago
The problem with log rotation in zope 2.6 is not exactly with /etc/logrotate.d/zope
The problem is that zope 2.6 has some bugs, and the latest changes in
/etc/logrotate.d/zope try to cope with that.
Zope 2.7 has a perfect call '<instance>/bin/zopectl logreopen' that does the job.
> 2. I Tried
>
> # dpkg --remove --force-depends zopectl
> # dpkg -i zope_2.7.0-0.13_i386.deb
> (Reading database ... 175564 files and directories currently installed.)
> Preparing to replace zope 2.7.0-0.13 (using zope_2.7.0-0.13_i386.deb) ...
> Zope stoping all instances....
> 'default' is an old/purged instance, not stoped
> Unpacking replacement zope ...
> Setting up zope (2.7.0-0.13) ...
> Zope: this zope uses a newer python. Deleting all python-compiled files in /usr/lib/zope and /var/lib/zope
> dpkg: error processing zope (--install):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> zope
>
> I guess there is some conflict in stoping old Zope instance once zopectl
> is removed. Any hint to do this cleanly?
>
you have found two bugs at once
1) The above upgrading-path does not stop old zope.
I think that apt does the right thing : it deconfigures zope 2.6
(and then stops it) before deleting zopectl
2) a problem with postinst; please add '|| true' after 'find .... | xargs rm'
in /var/lib/dpkg/info/zope.postinst
and retry, and tell me
a.
--
Andrea Mennucc
"one houndred and fifty - the chicken sings"