Some oddities on uninstall

Fabio Tranchitella kobold at kobold.it
Fri Jan 5 09:56:09 CET 2007


* 2007-01-05 06:47, Ross Boylan wrote:
> I just removed python2.3, and this took a number of older zopes with
> it.  Some of the messages I got in the process looked as if something
> might not be working right.  I'm not at all sure this is a bug, but I
> thought I'd let you know.  If you have any feedback for me (e.g.,
> whether there's anything I should do or worry about), that would
> be great.

Thanks for this kind of reports: it will help us to improve our zope
infrastructure!

> The most peculiar thing was that after removing various components,
> zope2.8 was restarted and then removed, with no notice of shutdown in
> between.  There was a notice of shutdown after this (this all toward
> the bottom of the log).

"""
Removing zope-zshell ...
Zope2.8: restarting plone-site instance.
Removing zope2.8 ...
Zope2.8: stopping plone-site instance.
"""

The first restart happens because zope-zshell is removed, I suppose. Did
you add zope-zshell to your plone-site instance? Anyway, it is not really
important as the next package which has been removed is zope2.8, and its
prerm stopped again plone-site and this is the right thing to do.

> The other issue is refusal to remove a bunch of products for
> zope2.8.  Since, in general, I wouldn't want removing zope to remove
> the instances I had built up, I'm not sure this is a problem.

Removing zope2.8 should not touch your instances, and for this reason
dzhandle won't remove your products if they were installed in addon-mode
manual (as the log shows).

""
dzhandle prerm-product: denied removal of product `CMFSetup' from
instance `plone-site' (2.8) in addon-mode `manual'
"""

> As I recall, the installations had a somewhat checkered history
> (particularly for plone; an earlier version of some of the packages
> left thins a little messed up), so some things might be in a funny
> state.

I do not think that this log shows any bug: everything is a normal
behaviour and intended. Your installation was quite complex, and your
plone-site instance was in addon-mode "manual" (which is the default) and
this means that the products won't be removed automatically.

This does not mean that everything is perfect: indeed, there is still a lot
of work to clean out the warning messages which could be confusing for
complex removals/upgrades.

Cheers,

-- 
Fabio Tranchitella                         http://www.kobold.it
Free Software Developer and Consultant     http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564



More information about the pkg-zope-developers mailing list