[Pkg-zope-developers] Bug#352725: 'No such file or directory' error on upgrade zope-archetypes and many others

Ross Boylan ross at biostat.ucsf.edu
Mon Feb 13 20:25:01 UTC 2006


Package: zope-archetypes
Version: 1.3.7-1
Severity: normal

My log from apt-get dist-upgrade shows
Preparing to replace zope-archetypes 1.3.5-1 (using .../zope-archetypes_1.3.7-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/Archetypes-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-archetypes ...

Note the final indication of apparent success.

The problem occurs with *many* other packages.  Here's more from the logs:
Preparing to replace zope-validation 1.3.5-1 (using .../zope-validation_1.3.7-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/validation-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-validation ...
Preparing to replace zope-generator 1.3.5-1 (using .../zope-generator_1.3.7-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/generator-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-generator ...
Preparing to replace zope-mimetypesregistry 1.3.5-1 (using .../zope-mimetypesregistry_1.3.7-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/MimetypesRegistry-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-mimetypesregistry ...
Preparing to replace zope-portaltransforms 1.3.5-1 (using .../zope-portaltransforms_1.3.7-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/PortalTransforms-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-portaltransforms ...
Preparing to replace zope-atcontenttypes 1.0.1-1 (using .../zope-atcontenttypes_1.0.3-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/ATContentTypes-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-atcontenttypes ...
Preparing to replace zope-cmfdynamicviewfti 1.0.1-2 (using .../zope-cmfdynamicviewfti_1.0.2-1_all.deb) ...
Unpacking replacement zope-cmfdynamicviewfti ...
Preparing to replace zope-cmfquickinstallertool 1.5.5-3 (using .../zope-cmfquickinstallertool_1.5.7-1_all.deb) ...
Unpacking replacement zope-cmfquickinstallertool ...
Preparing to replace zope-extendedpathindex 2.2-1 (using .../zope-extendedpathindex_2.3-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/ExtendedPathIndex-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-extendedpathindex ...
Preparing to replace zope-groupuserfolder 3.40-1 (using .../zope-groupuserfolder_3.50-1_all.deb) ...
Unpacking replacement zope-groupuserfolder ...
Preparing to replace zope-kupu 1.3.1-1 (using .../zope-kupu_1.3.3-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/kupu-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-kupu ...
Preparing to replace zope-pts 1.2.1-2 (using .../zope-pts_1.2.5-1_all.deb) ...
Unpacking replacement zope-pts ...
Preparing to replace zope-plonetranslations 2.1.1-1 (using .../zope-plonetranslations_2.1.2-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/PloneTranslations-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-plonetranslations ...
Preparing to replace zope-resourceregistries 1.0.5-1 (using .../zope-resourceregistries_1.1-1_all.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/dzhandle", line 2060, in ?
    main()
  File "/usr/sbin/dzhandle", line 2055, in main
    rv = action.run(global_options)
  File "/usr/sbin/dzhandle", line 673, in run
    instance.remove_addon(self.addon, global_options)
  File "/usr/sbin/dzhandle", line 1693, in remove_addon
    os.unlink(os.path.join(self.home, "etc/package-includes/", addon.name + "-configure.zcml"))
OSError: [Errno 2] No such file or directory: '/var/lib/zope3/instance/upj/etc/package-includes/ResourceRegistries-configure.zcml'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement zope-resourceregistries ...



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27adnvcd
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages zope-archetypes depends on:
ii  python2.3-docutils            0.3.9-0.1  Dependency package for python-docu
ii  zope-cmf1.5                   1.5.5-1    zope content management framework 
ii  zope-cmfformcontroller        1.0.6-1    zope form validation for cmf and p
ii  zope-common                   0.5.18     common settings and scripts for zo
ii  zope-generator                1.3.7-1    widget generator for Archetypes
ii  zope-mimetypesregistry        1.3.7-1    mimetypes registry for Zope
ii  zope-portaltransforms         1.3.7-1    mimetypes based transformations fo
ii  zope-validation               1.3.7-1    generic validators originaly defin
ii  zope2.8                       2.8.5-1    Open Source Web Application Server

Versions of packages zope-archetypes recommends:
ii  zope-cmfplone                 2.1.1-1    content management system based on

-- no debconf information




More information about the Pkg-zope-developers mailing list