Project

General

Profile

Actions

Bug #5212

closed

Hipster update failed because OpenOffice 4.1.0 > 4.1.1 upgrade

Added by Predrag Zečević almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2014-10-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Hi,

tried latest /hipster upgrade:

$ pkg_update oi151_hipster2014.1_20141005
            Packages to update:      472
           Mediators to change:        1
     Estimated space available: 94.05 GB
Estimated space to be consumed:  1.75 GB
       Create boot environment:      Yes
     Activate boot environment:      Yes
Create backup boot environment:       No
          Rebuild boot archive:      Yes

Changed mediators:
  mediator php:
           version: 5.5.14 (system default) -> 5.5.17 (system default)

Changed packages:
openindiana.org
  SUNWcs
    0.5.11-2014.1.2.14656:20140925T132945Z -> 0.5.11-2014.1.2.14659:20141004T133154Z
  SUNWcsd
...
  web/server/apache-24/module/apache-security
    2.7.7-2014.1.2.1:20140926T155927Z -> 2.7.7-2014.1.2.1:20141004T105420Z
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            472/472     4455/4455  304.8/304.8  1.3M/s

PHASE                                          ITEMS
Removing old actions                       1113/1113
Installing new actions                     1143/1143
Updating modified actions                  2867/8474Action upgrade failed for 'opt/openoffice/openoffice4/share/Scripts/python/Capitalise.py' (pkg://openindiana.org/
desktop/office/openoffice):
 TypeError: coercing to Unicode: need string or buffer, NoneType found
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /export/tmp/tmpXcwesg should you
wish to inspect it.
pkg: An unexpected error happened during update: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File "/usr/bin/pkg", line 6317, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 6303, in main_func
    pargs=pargs, **opts)
  File "/usr/bin/pkg", line 2138, in update
    reject_list=reject_pats, update_index=update_index)
  File "/usr/bin/pkg", line 1855, in __api_op
    ret_code = __api_execute_plan(_op, _api_inst)
  File "/usr/bin/pkg", line 1434, in __api_execute_plan
    api_inst.execute_plan()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2636, in execute_plan
    self._img.imageplan.execute()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 3895, in execute
    p.execute_update(src, dest)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 532, in execute_update
    dest.install(self, src)
  File "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line 191, in install
    stream = self.data()
  File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 2445, in opener
    f = open(cache_path, "rb")
TypeError: coercing to Unicode: need string or buffer, NoneType found

pkg: This is an internal error in pkg(5) version 8d10208.  Please log a
Service Request about this issue including the information above and this
message.

Update has finished if I destroy BE (with failure), remove openoffice package and install it again... Uninstall has also failure:

4 pfexec pkg uninstall -v openoffice
            Packages to remove:         1
            Services to change:         2
     Estimated space available:  93.72 GB
Estimated space to be consumed: 160.11 MB
       Create boot environment:        No
Create backup boot environment:        No
          Rebuild boot archive:        No

Changed packages:
openindiana.org
  desktop/office/openoffice
    4.1.0-2014.1.2.0:20140919T050421Z -> None
Services:
  restart_fmri:
    svc:/application/desktop-cache/desktop-mime-cache:default
    svc:/application/desktop-cache/mime-types-cache:default
PHASE                                          ITEMS
Removing old actions                       3554/3554
Updating package state database                 Done
Updating package cache                           1/1
Updating image state                            Done
Creating fast lookup database                   Done
Reading search index                            Done
Updating search index                            1/1

The following unexpected or editable files and directories were
salvaged while executing the requested package operation; they
have been moved to the displayed location in the image:

  opt/openoffice/openoffice4/share/uno_packages/cache -> /var/pkg/lost+found/opt/openoffice/openoffice4/share/uno_packages/cache-20141005T214800Z

Regards.

Actions #1

Updated by Aurélien Larcher over 5 years ago

  • Subject changed from /hipster update failed because OpenOffice 4.1.0 > 4.1.1 upgrade to Hipster update failed because OpenOffice 4.1.0 > 4.1.1 upgrade
  • Status changed from New to Closed
  • Assignee set to OI Userland

pkg(5) was updated and OpenOffice deprecated in favor of SFE's LibreOffice.
Issue is not applicable anymore.

Actions

Also available in: Atom PDF