[OpenIndiana-discuss] error upgrading to hipster -- Action upgrade failed for 'etc/dfs/sharetab'

Geoff Nordli geoffn at gnaa.net
Tue Mar 9 06:01:44 UTC 2021


Hi Tim.

I saw that post (it is on the wiki) and tried to edit that file, but it 
doesn't seem to be editable.

Not a big deal.  I thought there may be a quick fix for it.

The server at some point is going to be EOL within the next year anyhow.

thanks!!

Geoff

On 2021-03-08 12:13 p.m., Tim Mooney via openindiana-discuss wrote:
> In regard to: Re: [OpenIndiana-discuss] error upgrading to hipster --...:
>
>> You are probably right, this server is on its last legs.  I was 
>> hoping there was a quick fix to get it upgraded.
>
> I did the conversion from oi151a9 to hipster on my workstation, but that
> was years ago.  It may not even be possible to do this conversion any
> more.  If you manage to get converted, I encourage you to not let your
> system fall far behind again.  If there are going to be problems 
> updating,
> it's easiest if you find those problems shortly after others have already
> been through the update.
>
> For the "NoneType" issue, as Aurélien has already said, Alexander posted
> about that.  Check the mailing list archives for August 29, 2016. He
> wrote a quick blog post about it too:
>
>     https://www.openindiana.org/2016/08/29/possible-ssh-update-issue/
>
> At that time the issue applied to Sun SSH to OpenSSH conversion, but his
> suggestion may be worth trying for /etc/dfs/sharetab too.
>
> Tim
>
>>
>> On 2021-03-08 2:16 a.m., Carl Brewer wrote:
>>> Sorry for top posting ..
>>> I gave up doing this and just built a new server, then moved 
>>> everything I cared about across to it.
>>>
>>> On 8 March 2021 5:09:46 pm AEDT, Geoff Nordli <geoffn at gnaa.net> wrote:
>>>
>>>     Hi.
>>>
>>>     I am trying to upgrade the older version of OI (oi_151a9 May 
>>> 2015) to
>>>     the hipster branch.   No search results seemed to help me with 
>>> this error.
>>>
>>>     This is what I am getting below.  Any thoughts?
>>>
>>>
>>>     Update Phase                             10395/54131
>>>
>>>     Action upgrade failed for 'etc/dfs/sharetab'
>>>     (pkg://openindiana.org/SUNWcs):  TypeError: 'NoneType' object is 
>>> not
>>>     callable
>>>        The running system has not been modified. Modifications were 
>>> only made
>>>     to a clone of the running system.  This clone is mounted at
>>>     /tmp/tmpREuU91 should you wish to inspect it.
>>>     pkg: An unexpected error happened during update: 'NoneType' 
>>> object is
>>>     not callable
>>>
>>>     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:
>>>
>>>         usr/share/applications/mimeinfo.cache ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/share/applications/mimeinfo.cache-20210307T214655Z
>>>         var/sadm/system/logs ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/var/sadm/system/logs-20210307T214712Z
>>>         var/sadm/system ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/var/sadm/system-20210307T214712Z
>>>         var/sadm/servicetag/registry ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/var/sadm/servicetag/registry-20210307T214712Z
>>>         var/log/gdm ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/var/log/gdm-20210307T214712Z
>>>         var/lib/gdm ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/var/lib/gdm-20210307T214712Z
>>>         var/cache/gdm ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/var/cache/gdm-20210307T214712Z
>>>         usr/lib/python2.6/xml/parsers ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/xml/parsers-20210307T214713Z
>>>         usr/lib/python2.6/xml/dom ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/xml/dom-20210307T214713Z
>>>         usr/lib/python2.6/xml ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/xml-20210307T214713Z 
>>>
>>>         usr/lib/python2.6/vendor-packages/ply ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/vendor-packages/ply-20210307T214713Z
>>>         usr/lib/python2.6/vendor-packages/M2Crypto/SSL ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/vendor-packages/M2Crypto/SSL-20210307T214713Z
>>>         usr/lib/python2.6/vendor-packages/M2Crypto/PGP ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/vendor-packages/M2Crypto/PGP-20210307T214713Z
>>>         usr/lib/python2.6/vendor-packages/M2Crypto ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/vendor-packages/M2Crypto-20210307T214713Z
>>>         usr/lib/python2.6/vendor-packages ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/vendor-packages-20210307T214713Z
>>>         usr/lib/python2.6/site-packages ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/site-packages-20210307T214713Z
>>>         usr/lib/python2.6/logging ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/logging-20210307T214713Z
>>>         usr/lib/python2.6/encodings ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/encodings-20210307T214713Z
>>>         usr/lib/python2.6/email/mime ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/email/mime-20210307T214713Z
>>>         usr/lib/python2.6/email ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/email-20210307T214713Z
>>>         usr/lib/python2.6/distutils/command ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/distutils/command-20210307T214713Z
>>>         usr/lib/python2.6/distutils ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/distutils-20210307T214713Z
>>>         usr/lib/python2.6/curses ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/curses-20210307T214713Z
>>>         usr/lib/python2.6/ctypes ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6/ctypes-20210307T214713Z
>>>         usr/lib/python2.6 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.6-20210307T214713Z
>>>         usr/lib/python2.4/site-packages ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/usr/lib/python2.4/site-packages-20210307T214713Z
>>>         etc/rad -> 
>>> /tmp/tmpREuU91/var/pkg/lost+found/etc/rad-20210307T214713Z
>>>         platform/i86pc/ucode/AuthenticAMD/1022-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1022-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/1020-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1020-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/1043-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1043-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/1041-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1041-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/1080-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1080-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/1062-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1062-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/10A0-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/10A0-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/1081-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/1081-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/5010-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/5010-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/3010-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/3010-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/6012-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/6012-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/5020-00 ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/5020-00-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/container ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/container-20210307T214845Z
>>>         platform/i86pc/ucode/AuthenticAMD/equivalence-table ->
>>> /tmp/tmpREuU91/var/pkg/lost+found/platform/i86pc/ucode/AuthenticAMD/equivalence-table-20210307T214845Z
>>>     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 1604, in __api_op
>>>           ret_code = __api_execute_plan(_op, _api_inst)
>>>         File "/usr/bin/pkg", line 1290, in __api_execute_plan
>>>           api_inst.execute_plan()
>>>         File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", 
>>> line
>>>     2177, in execute_plan
>>>           self._img.imageplan.execute()
>>>         File 
>>> "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py",
>>>     line 2984, in execute
>>>           p.execute_update(src, dest)
>>>         File 
>>> "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line
>>>     462, in execute_update
>>>           dest.install(self, src)
>>>         File 
>>> "/usr/lib/python2.6/vendor-packages/pkg/actions/file.py", line
>>>     214, in install
>>>           stream = self.data()
>>>     TypeError: 'NoneType' object is not callable
>>>
>>>
>>>     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.
>>>
>>>
>>>
>>>     thanks,
>>>
>>>     Geoff
>>> ------------------------------------------------------------------------ 
>>>
>>>     openindiana-discuss mailing list
>>>     openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss 
>>> <https://openindiana.org/mailman/listinfo/openindiana-discuss>
>>>
>>>
>>> -- 
>>> Sent from my Android device with K-9 Mail. Please excuse my brevity. 
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>



More information about the openindiana-discuss mailing list