Bug#422875: dzhandle: not removing manually installed product

Jochen Pawletta jochen at hin.de
Tue May 8 15:12:26 UTC 2007


Package: zope-common
Version: 0.5.32
Severity: normal


Here is the sitiation:

--------
root at thales:~# dzhandle -z 2.9 remove-product default ZWiki
dzhandle remove-product: not removing manually installed product `ZWiki' from instance `default', use -f to override
root at thales:~# dzhandle -z 2.9 remove-product -f default ZWiki
Traceback (most recent call last):
  File "/usr/bin/dzhandle", line 2394, in ?
    main()
  File "/usr/bin/dzhandle", line 2389, in main
    rv = action.run(global_options)
  File "/usr/bin/dzhandle", line 1137, in run
    self.instance.remove_addon(addon, global_options)
  File "/usr/bin/dzhandle", line 1902, in remove_addon
    raise DZError, "%s `%s' not installed in instance `%s'" \
AttributeError: 'NoneType' object has no attribute 'kind'
--------

I installed the zope-zwiki Version 0.37.0-4.2 previously, which has
problems described in bugreport #413108.
Somehow I managed to install the product "manualy".
After that I want to upgrade to Version 0.59.0-1, but the
postinst-script stops with the "manualy installed"-message.

Because there are many problems with dzhandle, could you please say
which config-file it changes, so that one could fix the problem
manually. Maybe in this error-report?


Jochen

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages zope-common depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  python2.4                     2.4.4-3    An interactive high-level object-o

zope-common recommends no packages.

-- debconf information excluded




More information about the pkg-zope-developers mailing list