Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-10 Thread Predrag Zečević - Technical Support Analyst

On 10/ 7/16 11:58 AM, Nikola M wrote:

On 10/ 7/16 11:36 AM, Predrag Zečević - Technical Support Analyst wrote:

On 10/ 7/16 10:36 AM, Nikola M wrote:

On 10/ 7/16 08:59 AM, Predrag Zečević - Technical Support Analyst wrote:

On 10/ 6/16 11:49 AM, Alexander Pyhalov wrote:



Hi.
Ok, it seems I managed to miss pyyaml. Will update soon.




FYI, looks like pkg is broken:

After upgrade (this morning), pkg utility is useless:

$ pfexec pkg refresh --full && pfexec pkg update -vn

Linked image publisher check


Hi,
What are the osnet-incorporation and userland-incorporation versions, in
working BE,
before trying to update? (so to try to reproduce).


So, illumos versions (both "GOOD" and "BAD" one) from my /hipster
installation:
Release 5.11 Version illumos-5cbe397 64-bit
Release 5.11 Version illumos-b85b7e0 64-bit

Current (broken pkg) versions:
$ pkg list -Hv | grep -E "(osnet|userland)-incorporation"
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15901:20161007T010245Z
i--

Old (good pkg) one (after "beadm mount -s ro oldBE /mnt"):
$ pkg -R /mnt list -Hv | grep -E "(osnet|userland)-incorporation"
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15894:20160930T005930Z
i--

Looks like I have *NO* userland-incorporation installed!


I just checked with someone wating to manually update across build
server updates,
without having 'entire' consolidation installed..
.. and it seems like xenol tortched all osnet-incorporation and
userland-incorporation till 09/10/2016,
where oldest osnet is
osnet-incorporation@0.5.11,5.11-2016.0.1.15898:20161002T005625Z

and oldest userland is
userland-incorporation@0.5.11,5.11-2016.0.1.7496:20161003T170437Z


in http://pkg.openindiana.org/hipster/en/advanced_search.shtml .

That invalidates any testing, but updating from 20160421 snapshot ISO to
newest hipster
or updating in between these oldest snapshots and newest hipster.

I wanted to keep all 3 machines I have to oldest /hipster before 09/27
loader landing, but it seems that won't happen.
All I can is keep GRUB with  if I want or simply upgrade, get new loader
that can not directly see any previous GRUB BE.
I am forced to have new loader and don't see elegant solution of booting
previous BEs.



Hi all,

my apologies: I have removed userland-incorporation once upon a time in 
order to test something from other (build zone) repository (see also 
http://alp-notes.blogspot.de/2015/10/userland-incorporation-in-openindiana.html) 
and completely forgot on it.


It came out again when I wanted to test latest thunderbird package (see 
[CFT] Thunerbird 45.3.0 announcement in this list).


Someone has shared fix for this problem, and it has worked:

-
I don't know the proper way to solve the problem but my workaround was
to change /usr/lib/python2.7/vendor-packages/pkg/pipeutils.py.

I added to the import section:
import jsonrpclib.config as rpcconfig
and changed the offending line 412 (now 413) to:
rpc.Transport.__init__(self,config=rpcconfig.DEFAULT)
-

With best regards.
Predrag Zečević


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss



--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-09 Thread Predrag Zečević

Am 09.10.2016 um 17:03 schrieb Andreas Wacknitz:

Am 09.10.16 um 16:05 schrieb Grüninger, Andreas (LGL Extern):

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

I don't know the proper way to solve the problem but my workaround was
to change /usr/lib/python2.7/vendor-packages/pkg/pipeutils.py.

I added to the import section:
import jsonrpclib.config as rpcconfig
and changed the offending line 412 (now 413) to:
rpc.Transport.__init__(self,config=rpcconfig.DEFAULT)

Andreas

Thanks, your patch seems to work.
I still don't know why the original file works on some machines and not
on others...

Regards
Andreas


Thanks,
that fix has worked.

Still, when trying to update zone (which boots OK), it fails with error:

...
pkg update: The following packages all deliver file actions to 
usr/lib/python2.7/vendor-packages/libbe_py.so:



pkg://openindiana.org/library/python-2/libbe-27@0.5.11,5.11-2016.0.0.1:20160817T193304Z

pkg://openindiana.org/install/beadm@0.5.11,5.11-2016.0.1.15899:20161005T010132Z

These packages may not be installed together. Any non-conflicting set may
be, or the packages must be corrected before they can be installed.
...

$ pkg search -r /usr/lib/python2.7/vendor-packages/libbe_py.so
INDEX  ACTION VALUE PACKAGE
path   file   usr/lib/python2.7/vendor-packages/libbe_py.so 
pkg:/install/beadm@0.5.11-2016.0.1.15904


(same command from within zone returns no result)

Regards.

--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-09 Thread Andreas Wacknitz

Am 09.10.16 um 16:05 schrieb Grüninger, Andreas (LGL Extern):

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

I don't know the proper way to solve the problem but my workaround was to 
change /usr/lib/python2.7/vendor-packages/pkg/pipeutils.py.

I added to the import section:
import jsonrpclib.config as rpcconfig
and changed the offending line 412 (now 413) to:
rpc.Transport.__init__(self,config=rpcconfig.DEFAULT)

Andreas

Thanks, your patch seems to work.
I still don't know why the original file works on some machines and not 
on others...


Regards
Andreas


-Ursprüngliche Nachricht-
Von: Predrag Zečević - Technical Support Analyst 
[mailto:predrag.zece...@2e-systems.com]
Gesendet: Donnerstag, 6. Oktober 2016 10:49
An: openindiana-discuss@openindiana.org
Betreff: Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

On 10/ 5/16 05:54 PM, Alexander Pyhalov wrote:

Hi.
I'm glad to announce that finally python 2.6 is obsolete. There's no
actual packages, depending on python 2.6, left in OpenIndiana /hipster
and /hipster-encumbered repositories.
When you update your systems, python 2.6 packages will be
automatically uninstalled.

Hi ALP,

I have updated system this morning and still have few of them left:

$ pkg list | grep python | grep 26
library/python-2/pyyaml-263.11-2016.0.1.0
  i--
library/python-2/tkinter-26   2.6.9-2016.0.0.6
  i--
runtime/python-26 2.6.9-2016.0.0.6
  i--


Probably because:

$ pfexec pkg uninstall -vn runtime/python-26 library/python-2/pyyaml-26
library/python-2/tkinter-26
Linked image publisher check
Traceback (most recent call last):
File "/usr/bin/pkg", line 5444, in handle_errors
  __ret = func(*args, **kwargs)
File "/usr/bin/pkg", line 5430, in main_func
  pargs=pargs, **opts)
File "/usr/bin/pkg", line 2130, in uninstall
  display_plan_cb=display_plan_cb, logger=logger)
File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1628, in _uninstall
  display_plan_cb=display_plan_cb, logger=logger)
File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1442, in __api_op
  logger=logger, **kwargs)
File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1313, in __api_plan
  display_plan_cb=display_plan_cb)
File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1285, in __api_plan
  for pd in api_plan_func(**kwargs):
File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 1519, in 
__plan_op
  self.__plan_common_exception()
File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 1427, in 
__plan_op
  self.__linked_pubcheck(_op)
File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 1610, in 
__linked_pubcheck
  self._img.linked.api_recurse_pubcheck(self.__progresstracker)
File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 2367, in api_recurse_pubcheck
  _failfast=False))
File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 2057, in __children_op
  stage=pkgdefs.API_STAGE_DEFAULT
File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 2159, in __children_op_vec
  _syncmd_tmp, **kwargs)
File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 3229, in child_op_setup
  self.__child_setup_pubcheck(_pmd, **kwargs)
File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 3187, in __child_setup_pubcheck
  pkgdefs.PKG_OP_PUBCHECK)
File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py",
line 408, in setup
  self.__rpc_server_setup(img_path)
File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py",
line 163, in __rpc_server_setup
  rpc_client = pkg.pipeutils.PipedServerProxy(client_cmd_pipe)
File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 628, in 
__init__
  http_enc=http_enc)
File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 412, in 
__init__
  rpc.Transport.__init__(self)
TypeError: __init__() takes exactly 2 arguments (1 given)


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


I have tried all possible combination of 3 mentioned packages, and error is 
always same.

Any idea?

With best regards.
Predrag Zečević
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 

Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-09 Thread LGL Extern
> pkg: This is an internal error in pkg(5) version b2f36a5.  Please log a 
> Service Request about this issue including the information above and this 
> message.

I don't know the proper way to solve the problem but my workaround was to 
change /usr/lib/python2.7/vendor-packages/pkg/pipeutils.py.

I added to the import section:
import jsonrpclib.config as rpcconfig
and changed the offending line 412 (now 413) to:
rpc.Transport.__init__(self,config=rpcconfig.DEFAULT)

Andreas

-Ursprüngliche Nachricht-
Von: Predrag Zečević - Technical Support Analyst 
[mailto:predrag.zece...@2e-systems.com] 
Gesendet: Donnerstag, 6. Oktober 2016 10:49
An: openindiana-discuss@openindiana.org
Betreff: Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

On 10/ 5/16 05:54 PM, Alexander Pyhalov wrote:
> Hi.
> I'm glad to announce that finally python 2.6 is obsolete. There's no 
> actual packages, depending on python 2.6, left in OpenIndiana /hipster 
> and /hipster-encumbered repositories.
> When you update your systems, python 2.6 packages will be 
> automatically uninstalled.

Hi ALP,

I have updated system this morning and still have few of them left:

$ pkg list | grep python | grep 26
library/python-2/pyyaml-263.11-2016.0.1.0 
 i--
library/python-2/tkinter-26   2.6.9-2016.0.0.6 
 i--
runtime/python-26 2.6.9-2016.0.0.6 
 i--


Probably because:

$ pfexec pkg uninstall -vn runtime/python-26 library/python-2/pyyaml-26
library/python-2/tkinter-26
Linked image publisher check
Traceback (most recent call last):
   File "/usr/bin/pkg", line 5444, in handle_errors
 __ret = func(*args, **kwargs)
   File "/usr/bin/pkg", line 5430, in main_func
 pargs=pargs, **opts)
   File "/usr/bin/pkg", line 2130, in uninstall
 display_plan_cb=display_plan_cb, logger=logger)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1628, in _uninstall
 display_plan_cb=display_plan_cb, logger=logger)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1442, in __api_op
 logger=logger, **kwargs)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1313, in __api_plan
 display_plan_cb=display_plan_cb)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py",
line 1285, in __api_plan
 for pd in api_plan_func(**kwargs):
   File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 1519, in 
__plan_op
 self.__plan_common_exception()
   File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 1427, in 
__plan_op
 self.__linked_pubcheck(_op)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 1610, in 
__linked_pubcheck
 self._img.linked.api_recurse_pubcheck(self.__progresstracker)
   File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 2367, in api_recurse_pubcheck
 _failfast=False))
   File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 2057, in __children_op
 stage=pkgdefs.API_STAGE_DEFAULT
   File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 2159, in __children_op_vec
 _syncmd_tmp, **kwargs)
   File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 3229, in child_op_setup
 self.__child_setup_pubcheck(_pmd, **kwargs)
   File
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py",
line 3187, in __child_setup_pubcheck
 pkgdefs.PKG_OP_PUBCHECK)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py",
line 408, in setup
 self.__rpc_server_setup(img_path)
   File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py",
line 163, in __rpc_server_setup
 rpc_client = pkg.pipeutils.PipedServerProxy(client_cmd_pipe)
   File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 628, in 
__init__
 http_enc=http_enc)
   File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 412, in 
__init__
 rpc.Transport.__init__(self)
TypeError: __init__() takes exactly 2 arguments (1 given)


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


I have tried all possible combination of 3 mentioned packages, and error is 
always same.

Any idea?

With best regards.
Predrag Zečević
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
   65812 Bad Soden am Taunus, Germany 

Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-07 Thread Adam Števko
Hi Nikola,

> On 7 Oct 2016, at 11:58, Nikola M  wrote:
> 
>> On 10/ 7/16 11:36 AM, Predrag Zečević - Technical Support Analyst wrote:
>>> On 10/ 7/16 10:36 AM, Nikola M wrote:
 On 10/ 7/16 08:59 AM, Predrag Zečević - Technical Support Analyst wrote:
> On 10/ 6/16 11:49 AM, Alexander Pyhalov wrote:
> 
> 
> Hi.
> Ok, it seems I managed to miss pyyaml. Will update soon.
> 
> 
 
 FYI, looks like pkg is broken:
 
 After upgrade (this morning), pkg utility is useless:
 
 $ pfexec pkg refresh --full && pfexec pkg update -vn
 
 Linked image publisher check
 
>>> Hi,
>>> What are the osnet-incorporation and userland-incorporation versions, in
>>> working BE,
>>> before trying to update? (so to try to reproduce).
>> 
>> So, illumos versions (both "GOOD" and "BAD" one) from my /hipster
>> installation:
>> Release 5.11 Version illumos-5cbe397 64-bit
>> Release 5.11 Version illumos-b85b7e0 64-bit
>> 
>> Current (broken pkg) versions:
>> $ pkg list -Hv | grep -E "(osnet|userland)-incorporation"
>> pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15901:20161007T010245Z
>> i--
>> 
>> Old (good pkg) one (after "beadm mount -s ro oldBE /mnt"):
>> $ pkg -R /mnt list -Hv | grep -E "(osnet|userland)-incorporation"
>> pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15894:20160930T005930Z
>> i--
>> 
>> Looks like I have *NO* userland-incorporation installed!
> 
> I just checked with someone wating to manually update across build
> server updates,
> without having 'entire' consolidation installed..
> .. and it seems like xenol tortched all osnet-incorporation and
> userland-incorporation till 09/10/2016,
> where oldest osnet is
> osnet-incorporation@0.5.11,5.11-2016.0.1.15898:20161002T005625Z
> 
> and oldest userland is
> userland-incorporation@0.5.11,5.11-2016.0.1.7496:20161003T170437Z
> 

Can you be more specific what I have "torched" this time? I haven't contributed 
any significant changes till yesterday as I was busy with non-OI things..

> in http://pkg.openindiana.org/hipster/en/advanced_search.shtml .
> 
> That invalidates any testing, but updating from 20160421 snapshot ISO to
> newest hipster
> or updating in between these oldest snapshots and newest hipster.
> 
> I wanted to keep all 3 machines I have to oldest /hipster before 09/27
> loader landing, but it seems that won't happen.
> All I can is keep GRUB with  if I want or simply upgrade, get new loader
> that can not directly see any previous GRUB BE.
> I am forced to have new loader and don't see elegant solution of booting
> previous BEs.

You are not forced to use loader and you have a way how to keep using grub. 
Switching to new boot loader and booting older BEs is possible with simple 
howto published on OI website. Also, keep in mind that usinf very old BEs is 
not good, because your are reverting the system state and can lose data.

Also, if you want to have a more elegant way of switching to GRUB BEs from 
loader, you can send a patch. Toomas would be more than happy to review it I 
guess.

Adam

> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-07 Thread Nikola M
On 10/ 7/16 11:36 AM, Predrag Zečević - Technical Support Analyst wrote:
> On 10/ 7/16 10:36 AM, Nikola M wrote:
>> On 10/ 7/16 08:59 AM, Predrag Zečević - Technical Support Analyst wrote:
>>> On 10/ 6/16 11:49 AM, Alexander Pyhalov wrote:


 Hi.
 Ok, it seems I managed to miss pyyaml. Will update soon.


>>>
>>> FYI, looks like pkg is broken:
>>>
>>> After upgrade (this morning), pkg utility is useless:
>>>
>>> $ pfexec pkg refresh --full && pfexec pkg update -vn
>>>
>>> Linked image publisher check
>>>
>> Hi,
>> What are the osnet-incorporation and userland-incorporation versions, in
>> working BE,
>> before trying to update? (so to try to reproduce).
>
> So, illumos versions (both "GOOD" and "BAD" one) from my /hipster
> installation:
> Release 5.11 Version illumos-5cbe397 64-bit
> Release 5.11 Version illumos-b85b7e0 64-bit
>
> Current (broken pkg) versions:
> $ pkg list -Hv | grep -E "(osnet|userland)-incorporation"
> pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15901:20161007T010245Z
> i--
>
> Old (good pkg) one (after "beadm mount -s ro oldBE /mnt"):
> $ pkg -R /mnt list -Hv | grep -E "(osnet|userland)-incorporation"
> pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15894:20160930T005930Z
> i--
>
> Looks like I have *NO* userland-incorporation installed!

I just checked with someone wating to manually update across build
server updates,
without having 'entire' consolidation installed..
.. and it seems like xenol tortched all osnet-incorporation and
userland-incorporation till 09/10/2016,
where oldest osnet is
osnet-incorporation@0.5.11,5.11-2016.0.1.15898:20161002T005625Z

and oldest userland is
userland-incorporation@0.5.11,5.11-2016.0.1.7496:20161003T170437Z


in http://pkg.openindiana.org/hipster/en/advanced_search.shtml .

That invalidates any testing, but updating from 20160421 snapshot ISO to
newest hipster
or updating in between these oldest snapshots and newest hipster.

I wanted to keep all 3 machines I have to oldest /hipster before 09/27
loader landing, but it seems that won't happen.
All I can is keep GRUB with  if I want or simply upgrade, get new loader
that can not directly see any previous GRUB BE.
I am forced to have new loader and don't see elegant solution of booting
previous BEs.

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-07 Thread Predrag Zečević - Technical Support Analyst

On 10/ 7/16 10:36 AM, Nikola M wrote:

On 10/ 7/16 08:59 AM, Predrag Zečević - Technical Support Analyst wrote:

On 10/ 6/16 11:49 AM, Alexander Pyhalov wrote:



Hi.
Ok, it seems I managed to miss pyyaml. Will update soon.




FYI, looks like pkg is broken:

After upgrade (this morning), pkg utility is useless:

$ pfexec pkg refresh --full && pfexec pkg update -vn

Linked image publisher check


Hi,
What are the osnet-incorporation and userland-incorporation versions, in
working BE,
before trying to update? (so to try to reproduce).


So, illumos versions (both "GOOD" and "BAD" one) from my /hipster 
installation:

Release 5.11 Version illumos-5cbe397 64-bit
Release 5.11 Version illumos-b85b7e0 64-bit

Current (broken pkg) versions:
$ pkg list -Hv | grep -E "(osnet|userland)-incorporation"
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15901:20161007T010245Z 
i--


Old (good pkg) one (after "beadm mount -s ro oldBE /mnt"):
$ pkg -R /mnt list -Hv | grep -E "(osnet|userland)-incorporation"
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15894:20160930T005930Z 
i--


Looks like I have *NO* userland-incorporation installed!


Have you migrated to loader after 09/27/2016 or you still have GRUB ?

I have migrated to loader, and last good BE I have updated on 30.09.2016


(e.g. having /etc/default/be with BE_HAS_GRUB=true , to retain GRUB or not)

No, I am using loader:
$ ls -al /etc/default/be
ls: cannot access '/etc/default/be': No such file or directory






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


Regards.





With best regards.
Predrag Zečević

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss



--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-07 Thread Nikola M
On 10/ 7/16 08:59 AM, Predrag Zečević - Technical Support Analyst wrote:
> On 10/ 6/16 11:49 AM, Alexander Pyhalov wrote:
>>
>>
>> Hi.
>> Ok, it seems I managed to miss pyyaml. Will update soon.
>>
>>
>
> FYI, looks like pkg is broken:
>
> After upgrade (this morning), pkg utility is useless:
>
> $ pfexec pkg refresh --full && pfexec pkg update -vn
>
> Linked image publisher check
>
Hi,
What are the osnet-incorporation and userland-incorporation versions, in
working BE,
before trying to update? (so to try to reproduce).

Have you migrated to loader after 09/27/2016 or you still have GRUB ?
(e.g. having /etc/default/be with BE_HAS_GRUB=true , to retain GRUB or not)

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


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-07 Thread Predrag Zečević - Technical Support Analyst

On 10/ 6/16 11:49 AM, Alexander Pyhalov wrote:

On 10/ 6/16 11:49 AM, Predrag Zečević - Technical Support Analyst wrote:

On 10/ 5/16 05:54 PM, Alexander Pyhalov wrote:

Hi.
I'm glad to announce that finally python 2.6 is obsolete. There's no
actual packages, depending on python 2.6, left in OpenIndiana /hipster
and /hipster-encumbered repositories.
When you update your systems, python 2.6 packages will be automatically
uninstalled.


Hi ALP,

I have updated system this morning and still have few of them left:

$ pkg list | grep python | grep 26
library/python-2/pyyaml-263.11-2016.0.1.0 i--
library/python-2/tkinter-26   2.6.9-2016.0.0.6
i--
runtime/python-26 2.6.9-2016.0.0.6
i--




Hi.
Ok, it seems I managed to miss pyyaml. Will update soon.




FYI, looks like pkg is broken:

After upgrade (this morning), pkg utility is useless:

$ pfexec pkg refresh --full && pfexec pkg update -vn

Linked image publisher check
Traceback (most recent call last):
  File "/usr/bin/pkg", line 5444, in handle_errors
__ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 5430, in main_func
pargs=pargs, **opts)
  File "/usr/bin/pkg", line 2116, in update
display_plan_cb=display_plan_cb, logger=logger)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1600, in _update

logger=logger)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1442, in __api_op

logger=logger, **kwargs)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1313, in __api_plan

display_plan_cb=display_plan_cb)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1285, in __api_plan

for pd in api_plan_func(**kwargs):
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
1517, in __plan_op

log_op_end_all=True)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
1427, in __plan_op

self.__linked_pubcheck(_op)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
1610, in __linked_pubcheck

self._img.linked.api_recurse_pubcheck(self.__progresstracker)
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 2367, in api_recurse_pubcheck

_failfast=False))
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 2057, in __children_op

stage=pkgdefs.API_STAGE_DEFAULT
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 2159, in __children_op_vec

_syncmd_tmp, **kwargs)
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 3229, in child_op_setup

self.__child_setup_pubcheck(_pmd, **kwargs)
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 3187, in __child_setup_pubcheck

pkgdefs.PKG_OP_PUBCHECK)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py", 
line 408, in setup

self.__rpc_server_setup(img_path)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py", 
line 163, in __rpc_server_setup

rpc_client = pkg.pipeutils.PipedServerProxy(client_cmd_pipe)
  File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 628, 
in __init__

http_enc=http_enc)
  File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 412, 
in __init__

rpc.Transport.__init__(self)
TypeError: __init__() takes exactly 2 arguments (1 given)


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


Regards.
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-06 Thread Gordon Ross
Doesn't that make it impossible to keep python 2.6 there along python 2.7?
I thought "obsolete" tells IPS there's no need for that ever to exist anymore.
I'm not sure that's quite the situation here, if you have something
that actually wants python 2.6 (even if nothing in the base OS needs
it anymore).

On Wed, Oct 5, 2016 at 11:54 AM, Alexander Pyhalov  wrote:
> Hi.
> I'm glad to announce that finally python 2.6 is obsolete. There's no actual
> packages, depending on python 2.6, left in OpenIndiana /hipster and
> /hipster-encumbered repositories.
> When you update your systems, python 2.6 packages will be automatically
> uninstalled.
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department
>
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-06 Thread Predrag Zečević - Technical Support Analyst

On 10/ 5/16 05:54 PM, Alexander Pyhalov wrote:

Hi.
I'm glad to announce that finally python 2.6 is obsolete. There's no
actual packages, depending on python 2.6, left in OpenIndiana /hipster
and /hipster-encumbered repositories.
When you update your systems, python 2.6 packages will be automatically
uninstalled.


Hi ALP,

I have tried to update zone ($Zone variable contains its name):
$ pfexec zoneadm -z $Zone halt
$ pfexec pkg -R /export/Zones/$Zone/root update -v

And got this error (might be also related to Python version changes):

zone '$Zone': zone is already halted
Creating Plan (Checking for conflicting actions): -  Packages to remove: 12
 Packages to install: 15
  Packages to update: 77
Rebuild boot archive: No
...

pkg update: The following packages all deliver file actions to 
usr/lib/python2.7/vendor-packages/libbe_py.so:



pkg://openindiana.org/library/python-2/libbe-27@0.5.11,5.11-2016.0.0.1:20160817T193304Z

pkg://openindiana.org/install/beadm@0.5.11,5.11-2016.0.1.15899:20161005T010132Z

These packages may not be installed together. Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The following packages all deliver file actions to 
usr/lib/python2.7/vendor-packages/64/libbe_py.so:



pkg://openindiana.org/library/python-2/libbe-27@0.5.11,5.11-2016.0.0.1:20160817T193304Z

pkg://openindiana.org/install/beadm@0.5.11,5.11-2016.0.1.15899:20161005T010132Z

These packages may not be installed together. Any non-conflicting set may
be, or the packages must be corrected before they can be installed.


How to fix this problem?

With best regards.
Predrag Zečević

--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-06 Thread Alexander Pyhalov

On 10/ 6/16 11:49 AM, Predrag Zečević - Technical Support Analyst wrote:

On 10/ 5/16 05:54 PM, Alexander Pyhalov wrote:

Hi.
I'm glad to announce that finally python 2.6 is obsolete. There's no
actual packages, depending on python 2.6, left in OpenIndiana /hipster
and /hipster-encumbered repositories.
When you update your systems, python 2.6 packages will be automatically
uninstalled.


Hi ALP,

I have updated system this morning and still have few of them left:

$ pkg list | grep python | grep 26
library/python-2/pyyaml-263.11-2016.0.1.0 i--
library/python-2/tkinter-26   2.6.9-2016.0.0.6 i--
runtime/python-26 2.6.9-2016.0.0.6 i--




Hi.
Ok, it seems I managed to miss pyyaml. Will update soon.


--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-06 Thread Predrag Zečević - Technical Support Analyst

On 10/ 5/16 05:54 PM, Alexander Pyhalov wrote:

Hi.
I'm glad to announce that finally python 2.6 is obsolete. There's no
actual packages, depending on python 2.6, left in OpenIndiana /hipster
and /hipster-encumbered repositories.
When you update your systems, python 2.6 packages will be automatically
uninstalled.


Hi ALP,

I have updated system this morning and still have few of them left:

$ pkg list | grep python | grep 26
library/python-2/pyyaml-263.11-2016.0.1.0 
i--
library/python-2/tkinter-26   2.6.9-2016.0.0.6 
i--
runtime/python-26 2.6.9-2016.0.0.6 
i--



Probably because:

$ pfexec pkg uninstall -vn runtime/python-26 library/python-2/pyyaml-26 
library/python-2/tkinter-26

Linked image publisher check
Traceback (most recent call last):
  File "/usr/bin/pkg", line 5444, in handle_errors
__ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 5430, in main_func
pargs=pargs, **opts)
  File "/usr/bin/pkg", line 2130, in uninstall
display_plan_cb=display_plan_cb, logger=logger)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1628, in _uninstall

display_plan_cb=display_plan_cb, logger=logger)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1442, in __api_op

logger=logger, **kwargs)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1313, in __api_plan

display_plan_cb=display_plan_cb)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
line 1285, in __api_plan

for pd in api_plan_func(**kwargs):
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
1519, in __plan_op

self.__plan_common_exception()
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
1427, in __plan_op

self.__linked_pubcheck(_op)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
1610, in __linked_pubcheck

self._img.linked.api_recurse_pubcheck(self.__progresstracker)
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 2367, in api_recurse_pubcheck

_failfast=False))
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 2057, in __children_op

stage=pkgdefs.API_STAGE_DEFAULT
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 2159, in __children_op_vec

_syncmd_tmp, **kwargs)
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 3229, in child_op_setup

self.__child_setup_pubcheck(_pmd, **kwargs)
  File 
"/usr/lib/python2.7/vendor-packages/pkg/client/linkedimage/common.py", 
line 3187, in __child_setup_pubcheck

pkgdefs.PKG_OP_PUBCHECK)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py", 
line 408, in setup

self.__rpc_server_setup(img_path)
  File "/usr/lib/python2.7/vendor-packages/pkg/client/pkgremote.py", 
line 163, in __rpc_server_setup

rpc_client = pkg.pipeutils.PipedServerProxy(client_cmd_pipe)
  File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 628, 
in __init__

http_enc=http_enc)
  File "/usr/lib/python2.7/vendor-packages/pkg/pipeutils.py", line 412, 
in __init__

rpc.Transport.__init__(self)
TypeError: __init__() takes exactly 2 arguments (1 given)


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


I have tried all possible combination of 3 mentioned packages, and error 
is always same.


Any idea?

With best regards.
Predrag Zečević
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] [HEADS UP] Python 2.6 is obsolete

2016-10-05 Thread Alexander Pyhalov

Hi.
I'm glad to announce that finally python 2.6 is obsolete. There's no 
actual packages, depending on python 2.6, left in OpenIndiana /hipster 
and /hipster-encumbered repositories.
When you update your systems, python 2.6 packages will be automatically 
uninstalled.

--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss