[OpenIndiana-discuss] Update dev to hipster

Carsten Grzemba grzemba at contac-dt.de
Thu Dec 15 15:43:25 UTC 2016


I try to update like described here:

https://wiki.openindiana.org/pages/viewpage.action?pageId=30802657

First I see this problem:

# pkg update pkg
Creating Plan -Traceback (most recent call last):
 File "/usr/bin/pkg", line 5975, in handle_errors
 __ret = func(*args, **kwargs)
 File "/usr/bin/pkg", line 5958, in main_func
 pargs=pargs, **opts)
 File "/usr/bin/pkg", line 2344, in update
 reject_list=reject_pats, update_index=update_index)
 File "/usr/bin/pkg", line 1575, in __api_op
 rv = __api_plan_exception(_op, _noexecute, _verbose, _api_inst)
 File "/usr/bin/pkg", line 1557, in __api_op
 for pd in api_plan_func(**kwargs):
 File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 1110, in __plan_op
 log_op_end_all=True)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 1064, in __plan_op
 self._img.make_update_plan(**kwargs)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 4132, in make_update_plan
 reject_list=reject_list)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 3999, in __make_plan_common
 ip.plan_update(**kwargs)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 877, in plan_update
 reject_list=reject_list)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 854, in __plan_update_solver
 trim_proposed_installed=False)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 429, in solve_install
 possible_set, excludes=excludes))
 File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 1121, in __generate_dependency_closure
 excludes, dotrim) - already_processed)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 1141, in __generate_dependencies
 self.__trim(fmri, e.reason, e.fmris)
 File "/usr/lib/python2.6/vendor-packages/pkg/client/pkg_solver.py", line 1844, in __trim
 self.__trim_dict[fmri].add(tup)
TypeError: unhashable type: 'list'


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


I catched the TypeError exception and see that the package rpm has an dependency which isn't satisfied any more.

remove of package rpm helps here, but

after the uptdate to hipster-2015 I still have a lot of old packages in BE:
 
# pkg list |grep '0\.151\.1\.'
SUNWcs 0.5.11-0.151.1.9 i--
SUNWcsd 0.5.11-0.151.1.9 i--
archiver/gnu-tar 1.23-0.151.1.9 i--
audio/audio-utilities 0.5.11-0.151.1.9 i--
audio/sox 14.4.1-0.151.1.9 i--
benchmark/x11perf 1.5.1-0.151.1.9 i--
codec/flac 0.5.11-0.151.1.9 i--
codec/libtheora 0.5.11-0.151.1.9 i--
codec/ogg-vorbis 0.5.11-0.151.1.9 i--
communication/im/pidgin 0.5.11-0.151.1.9 i--
communication/pda/gnome-pilot 0.5.11-0.151.1.9 i--
communication/pda/pilot-link 0.5.11-0.151.1.9 i--
compress/bzip2 1.0.6-0.151.1.9 i--
compress/gzip 1.5-0.151.1.9 i--
compress/p7zip 4.55-0.151.1.9 i--
compress/unzip 5.53.7-0.151.1.9 i--
compress/zip 2.32-0.151.1.9 i--
consolidation/install/install-incorporation 0.5.11-0.151.1.9 i--
consolidation/ips/ips-incorporation 0.5.11-0.151.1.9 i--
consolidation/osnet/osnet-incorporation 0.5.11-0.151.1.9 i--
consolidation/ub_javavm/ub_javavm-incorporation 0.5.11-0.151.1.9 i--
crypto/gnupg 2.0.13-0.151.1.9 i--
data/docbook 0.5.11-0.151.1.9 i--
database/sqlite-3 
..8<..

# pkg publisher
PUBLISHER TYPE STATUS URI
openindiana.org origin online http://pkg.openindiana.org/hipster-2015/
private origin online file:///repos/private/

Whats going wrong here?


More information about the openindiana-discuss mailing list