Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-13 Thread Volker A. Brandt
Hi alp!


> Do later SRSS versions come as IPS packages? When I installed it last 
> time, they were still SVR4-packaged, so IPS wouldn't be aware of it...

Yes, they do:

$ pkg info SUNWutr
 Name: SUNWutr
  Summary: Sun Ray Core Services Configuration (root)
  Description: startup and service configuration files
 Category: System/Virtualization
State: Installed
Publisher: sunray
  Version: 4.5.0.0.44
Build Release: 5.11
   Branch: 0.0
   Packaging Date: Tue Apr 14 17:50:15 2015
 Size: 455.08 kB
 FMRI: pkg://sunray/SUNWutr@4.5.0.0.44,5.11-0.0:20150414T175015Z

(not the latest version :-)

As you can see, there is a separate publisher ("sunray").  Oracle ships
the complete repository, adds the publisher during software installation
and removes the publisher afterwards.

My guess is that they do this because it is not possible to "pkg update"
from one Sun Ray software version to the next.  However, you can find
and examine the repository inside the SRSS distribution.


Regards -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"

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


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-13 Thread Thomas Wagner
The missing link may be the every too often removed legacy package
name in a updated IPS package.
That way even SVR4 packages know about if an (IPS) package is 
present or not.

While developing one barely notice the missing legacy package names,
but "3rd"-party addons complain later.

Thomas

On Fri, Jan 13, 2017 at 05:29:36PM +0300, Alexander Pyhalov wrote:
>  On 01/13/17 05:20 PM, Carsten Grzemba wrote:
> 
> > I solved the problem by
> > - set non-sticky the openindiana.org publisher
> > - create a fake repo and publish there incorporation packages where 
> > dependency type is changed to optional, remove the obsoleted flag in dhcp 
> > package
> > # pkgrepo list -s /repos/fake-hipster/
> > PUBLISHER NAME O VERSION
> > fake-hipster consolidation/install/install-incorporation 
> > 0.5.11,5.11-0.151.1.9:20170108T144721Z
> > fake-hipster consolidation/ips/ips-incorporation 
> > 0.5.11,5.11-0.151.1.9:20170111T153531Z
> > fake-hipster consolidation/osnet/osnet-incorporation 
> > 0.5.11,5.11-0.151.1.9:20170108T132101Z
> > fake-hipster service/network/dhcp 
> > 0.5.11,5.11-2015.0.2.15619:20170113T123056Z
> > fake-hipster service/network/dhcp 0.5.11,5.11-0.151.1.9:20170106T113837Z
> > - add the fake-hipster repository to search before openindiana.org 
> > publisher
> > - at first replace (pkg update) the old incorporations with the old fake 
> > incorporation (optional dependencies)
> > - remove the fake repository
> > - do a normal upgrade to the latest hipster
> >
> 
>  Do later SRSS versions come as IPS packages? When I installed it last time, 
>  they were still SVR4-packaged, so IPS wouldn't be aware of it...
> 
>  -- 
>  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] OpenIndiana upgrade

2017-01-13 Thread Alexander Pyhalov

On 01/13/17 05:20 PM, Carsten Grzemba wrote:


I solved the problem by
- set non-sticky the openindiana.org publisher
- create a fake repo and publish there incorporation packages where dependency 
type is changed to optional, remove the obsoleted flag in dhcp package
# pkgrepo list -s /repos/fake-hipster/
PUBLISHER NAME O VERSION
fake-hipster consolidation/install/install-incorporation 
0.5.11,5.11-0.151.1.9:20170108T144721Z
fake-hipster consolidation/ips/ips-incorporation 
0.5.11,5.11-0.151.1.9:20170111T153531Z
fake-hipster consolidation/osnet/osnet-incorporation 
0.5.11,5.11-0.151.1.9:20170108T132101Z
fake-hipster service/network/dhcp 0.5.11,5.11-2015.0.2.15619:20170113T123056Z
fake-hipster service/network/dhcp 0.5.11,5.11-0.151.1.9:20170106T113837Z
- add the fake-hipster repository to search before openindiana.org publisher
- at first replace (pkg update) the old incorporations with the old fake 
incorporation (optional dependencies)
- remove the fake repository
- do a normal upgrade to the latest hipster



Do later SRSS versions come as IPS packages? When I installed it last 
time, they were still SVR4-packaged, so IPS wouldn't be aware of it...


--
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] OpenIndiana upgrade

2017-01-13 Thread Carsten Grzemba


On 05.01.17 16:31, Carsten Grzemba   wrote: 
> 
> I also fiddling around his problem for a while.
> 
> It seems that the problem correlates with some obsoleted packages and locked 
> version in the incorporations
> e.g. ips-incorporation is obsoleted now.
> 
> There I stumble in the incorporation package manifests over the dependency 
> type 'incorporate'. 
> I can't unlock this depend versions, right?
> 
> That has nothing to do with facet.version-lock?
> 
> On 31.12.16 18:51, Hans J Albertsson  wrote: 
> > 
> > The message I answered was Russel's last, not Mr Coopersmith's.
> > I'm on a phone with limited intelligence...
> > Hans J. Albertsson
> > From my Nexus 5
> > 
> > Den 31 dec. 2016 18:49 skrev "Hans J Albertsson" <
> > hans.j.alberts...@gmail.com>:
> > 
> > > I had the same kind of problem with 151a7, no f...n way to make updates
> > > run OK.
> > >
> > > The messages appearing for you seem a lot like what I had.
> > >
> > > My best guess is that this is a basic flaw in logic, that in most cases
> > > would never cause a problem, but somehow, in a personal-computer use of 
> > > OI,
> > > doesn't keep enough info around to step past some unexpected hurdle.
> > >
> > > Hans J. Albertsson
> > > From my Nexus 5
> > >
> > > Den 31 dec. 2016 18:01 skrev "Alan Coopersmith" <
> > > alan.coopersm...@oracle.com>:
> > >
> > >> On 12/31/16 05:00 AM, russell wrote:
> > >>
> > >>> Hi Alex,
> > >>>
> > >>> I tried a pkg image-update -v --be-name openindiana-hipster-NN this
> > >>> morning
> > >>> which did actually complete okay with information about gnu/tar.
> > >>>
> > >>> After booting from the new environment and then attempting a pkg update
> > >>> -be-name
> > >>> openindiana-hipster-NN+1 I obtained the following message
> > >>>
> > >>
> > >> BTW, you know that "pkg update" and "pkg image-update" do the same thing,
> > >> right?
> > >> The original name was image-update and when it was shortened to update,
> > >> the old
> > >> name was left in IPS as a compatibility alias.
> > >>
> 
or
 
> 
> 
> > >> -alan-
> 
 
> 
> 
> > >>
> > >>
> 
Finally I could update my dev install to hipster ;)

The main problem seems to be that it is a SunRAY Server and the sunray packages 
need package  
service/network/dhcp. 
But this package is obsoleted on hipster and it seems that obsoleted packages 
can not install as incorporate.

Changing facetpkg-a change-facet facet.require.service/network/dhcp=false
# pkg change-facet facet.version-lock.service/network/dhcp=false
or
# pkg change-facet facet.require.service/network/dhcp=false
has no effect.

I solved the problem by 
- set non-sticky the openindiana.org publisher
- create a fake repo and publish there incorporation packages where dependency 
type is changed to optional, remove the obsoleted flag in dhcp package
# pkgrepo list -s /repos/fake-hipster/
PUBLISHER NAME O VERSION
fake-hipster consolidation/install/install-incorporation 
0.5.11,5.11-0.151.1.9:20170108T144721Z
fake-hipster consolidation/ips/ips-incorporation 
0.5.11,5.11-0.151.1.9:20170111T153531Z
fake-hipster consolidation/osnet/osnet-incorporation 
0.5.11,5.11-0.151.1.9:20170108T132101Z
fake-hipster service/network/dhcp 0.5.11,5.11-2015.0.2.15619:20170113T123056Z
fake-hipster service/network/dhcp 0.5.11,5.11-0.151.1.9:20170106T113837Z
- add the fake-hipster repository to search before openindiana.org publisher
- at first replace (pkg update) the old incorporations with the old fake 
incorporation (optional dependencies)
- remove the fake repository
- do a normal upgrade to the latest hipster

I guess it would be better that packages not obsoleted but instead replaced 
(isc-dhcp).
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-05 Thread Carsten Grzemba
I also fiddling around his problem for a while.

It seems that the problem correlates with some obsoleted packages and locked 
version in the incorporations
e.g. ips-incorporation is obsoleted now.

There I stumble in the incorporation package manifests over the dependency type 
'incorporate'. 
I can't unlock this depend versions, right?

That has nothing to do with facet.version-lock?

On 31.12.16 18:51, Hans J Albertsson   wrote: 
> 
> The message I answered was Russel's last, not Mr Coopersmith's.
> I'm on a phone with limited intelligence...
> Hans J. Albertsson
> From my Nexus 5
> 
> Den 31 dec. 2016 18:49 skrev "Hans J Albertsson" <
> hans.j.alberts...@gmail.com>:
> 
> > I had the same kind of problem with 151a7, no f...n way to make updates
> > run OK.
> >
> > The messages appearing for you seem a lot like what I had.
> >
> > My best guess is that this is a basic flaw in logic, that in most cases
> > would never cause a problem, but somehow, in a personal-computer use of OI,
> > doesn't keep enough info around to step past some unexpected hurdle.
> >
> > Hans J. Albertsson
> > From my Nexus 5
> >
> > Den 31 dec. 2016 18:01 skrev "Alan Coopersmith" <
> > alan.coopersm...@oracle.com>:
> >
> >> On 12/31/16 05:00 AM, russell wrote:
> >>
> >>> Hi Alex,
> >>>
> >>> I tried a pkg image-update -v --be-name openindiana-hipster-NN this
> >>> morning
> >>> which did actually complete okay with information about gnu/tar.
> >>>
> >>> After booting from the new environment and then attempting a pkg update
> >>> -be-name
> >>> openindiana-hipster-NN+1 I obtained the following message
> >>>
> >>
> >> BTW, you know that "pkg update" and "pkg image-update" do the same thing,
> >> right?
> >> The original name was image-update and when it was shortened to update,
> >> the old
> >> name was left in IPS as a compatibility alias.
> >>
> >> -alan-
> >>
> >>
> >> ___
> >> 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
> 
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2016-12-31 Thread Hans J Albertsson
The message I answered was Russel's last, not Mr Coopersmith's.
I'm on a phone with limited intelligence...
Hans J. Albertsson
>From my Nexus 5

Den 31 dec. 2016 18:49 skrev "Hans J Albertsson" <
hans.j.alberts...@gmail.com>:

> I had the same kind of problem with 151a7, no f...n way to make updates
> run OK.
>
> The messages appearing for you seem a lot like what I had.
>
> My best guess is that this is a basic flaw in logic, that in most cases
> would never cause a problem, but somehow, in a personal-computer use of OI,
> doesn't keep enough info  around to step past some unexpected hurdle.
>
> Hans J. Albertsson
> From my Nexus 5
>
> Den 31 dec. 2016 18:01 skrev "Alan Coopersmith" <
> alan.coopersm...@oracle.com>:
>
>> On 12/31/16 05:00 AM, russell wrote:
>>
>>> Hi Alex,
>>>
>>> I tried a pkg image-update -v --be-name openindiana-hipster-NN this
>>> morning
>>> which did actually complete okay with information about gnu/tar.
>>>
>>> After booting from the new environment and then attempting a pkg update
>>> -be-name
>>> openindiana-hipster-NN+1 I obtained the following message
>>>
>>
>> BTW, you know that "pkg update" and "pkg image-update" do the same thing,
>> right?
>> The original name was image-update and when it was shortened to update,
>> the old
>> name was left in IPS as a compatibility alias.
>>
>> -alan-
>>
>>
>> ___
>> 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] OpenIndiana upgrade

2016-12-31 Thread Hans J Albertsson
I had the same kind of problem with 151a7, no f...n way to make updates run
OK.

The messages appearing for you seem a lot like what I had.

My best guess is that this is a basic flaw in logic, that in most cases
would never cause a problem, but somehow, in a personal-computer use of OI,
doesn't keep enough info  around to step past some unexpected hurdle.

Hans J. Albertsson
>From my Nexus 5

Den 31 dec. 2016 18:01 skrev "Alan Coopersmith" :

> On 12/31/16 05:00 AM, russell wrote:
>
>> Hi Alex,
>>
>> I tried a pkg image-update -v --be-name openindiana-hipster-NN this
>> morning
>> which did actually complete okay with information about gnu/tar.
>>
>> After booting from the new environment and then attempting a pkg update
>> -be-name
>> openindiana-hipster-NN+1 I obtained the following message
>>
>
> BTW, you know that "pkg update" and "pkg image-update" do the same thing,
> right?
> The original name was image-update and when it was shortened to update,
> the old
> name was left in IPS as a compatibility alias.
>
> -alan-
>
>
> ___
> 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] OpenIndiana upgrade

2016-12-31 Thread Alan Coopersmith

On 12/31/16 05:00 AM, russell wrote:

Hi Alex,

I tried a pkg image-update -v --be-name openindiana-hipster-NN this morning
which did actually complete okay with information about gnu/tar.

After booting from the new environment and then attempting a pkg update -be-name
openindiana-hipster-NN+1 I obtained the following message


BTW, you know that "pkg update" and "pkg image-update" do the same thing, right?
The original name was image-update and when it was shortened to update, the old
name was left in IPS as a compatibility alias.

-alan-


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


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2016-12-31 Thread russell

Hi Alex,

I tried a pkg image-update -v --be-name openindiana-hipster-NN this 
morning which did actually complete okay with information about gnu/tar.


After booting from the new environment and then attempting a pkg update 
-be-name openindiana-hipster-NN+1 I obtained the following message


Creating Plan (Running solver): /
pkg update: No solution was found to satisfy constraints
No solution found to update to latest available versions.
This may indicate an overly constrained set of packages are installed.

latest incorporations:

pkg://openindiana.org/consolidation/install/install-incorporation@0.5.11,5.11-2016.1.0.996:20161204T203142Z
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11,5.11-2016.1.1.16077:20161231T005751Z
pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11,5.11-2016.1.1.8110:20161230T103905Z

The following indicates why the system cannot update to the latest version:

Reject: 
pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11-2016.1.1.8110:20161230T103905Z
Reason:  No version matching 'incorporate' dependency 
library/perl-5/http-negotiate-516@6.1-2016.1.0.0 can be installed
Reject: 
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.0.1.15898:20161002T005625Z
Reason:  No version for 'incorporate' dependency on 
developer/library/lint@0.5.11-2016.0.1.15898 can be found


I tried the pkg update -v 
consolidation/osnet/osnet-incorporation@0.5.11,5.11-2016.1.1.16077 and 
obtained the following results


# pkg update -v 
consolidation/osnet/osnet-incorporation@0.5.11,5.11-2016.1.1.16077

Creating Plan (Solver setup): |
pkg update: No matching version of 
consolidation/osnet/osnet-incorporation can be installed:
  Reject: 
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2016.1.1.16077:20161231T005751Z
  Reason:  No version matching 'incorporate' dependency 
locale/nn@0.5.11-2016.1.1.16077 can be installed


Reject: 
pkg://openindiana.org/locale/nn@0.5.11-2016.1.1.16077:20161231T011016Z
Reason:  No version matching 'require' dependency 
consolidation/osnet/osnet-incorporation can be installed


  Reason:  No version matching 'incorporate' dependency 
service/fault-management@0.5.11-2016.1.1.16077 can be installed


Reject: 
pkg://openindiana.org/service/fault-management@0.5.11-2016.1.1.16077:20161231T011302Z
Reason:  No version matching 'require' dependency 
SUNWcs@0.5.11-2016.1.1.16077 can be installed

  
  Reject: 
pkg://openindiana.org/SUNWcs@0.5.11-2016.1.1.16077:20161231T011530Z
  Reason:  No version matching 'require' dependency 
consolidation/osnet/osnet-incorporation can be installed
  Reason:  No version matching 'require' dependency 
storage/svm@0.5.11-2016.1.1.16077 can be installed


Reject: 
pkg://openindiana.org/storage/svm@0.5.11-2016.1.1.16077:20161231T011525Z
Reason:  No version matching 'require' dependency 
system/library/install@0.5.11-2016.1.0.996 can be installed

  
  Reject: 
pkg://openindiana.org/system/library/install@0.5.11-2016.1.0.996:20161204T203245Z
  Reason:  This version is excluded by installed incorporation 
consolidation/install/install-incorporation@0.5.11-2015.0.2.972
  Reason:  This version is excluded by installed incorporation 
consolidation/userland/userland-incorporation@0.5.11-2015.0.2.5954

  

  
Reason:  No version matching 'require' dependency 
system/management/snmp/net-snmp@5.4.4-2016.1.1.2 can be installed

  
  Reject: 
pkg://openindiana.org/system/management/snmp/net-snmp@5.4.4-2016.1.1.2:20161229T205905Z
  Reason:  No version matching 'conditional' dependency 
library/python/net-snmp-27@5.4.4-2016.1.1.2 can be installed


Reject: 
pkg://openindiana.org/library/python/net-snmp-27@5.4.4-2016.1.1.2:20161229T205900Z
Reason:  No version matching 'require' dependency 
runtime/python-27@2.7.13-2016.1.1.0 can be installed

  
  Reject: 
pkg://openindiana.org/runtime/python-27@2.7.13-2016.1.1.0:20161219T205959Z
  Reason:  No version matching 'require' dependency 
SUNWcs@0.5.11-2016.0.1.15934 can be installed


Reject: 
pkg://openindiana.org/SUNWcs@0.5.11-2016.0.1.15934:20161022T013215Z

   to
pkg://openindiana.org/SUNWcs@0.5.11-2016.1.1.16076:20161230T011218Z
Reason:  

Re: [OpenIndiana-discuss] OpenIndiana upgrade

2016-12-30 Thread russell

Hi Alex,

On 29/12/2016 18:58, Alexander Pyhalov wrote:
pkg update -v 
pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11-2016.1.1.8106:20161228T221154Z

See below for the output

Creating Plan (Solver setup): -
pkg update: No matching version of 
consolidation/userland/userland-incorporation can be installed:
  Reject: 
pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11-2016.1.1.8106:20161228T221154Z
  Reason:  No version matching 'incorporate' dependency 
archiver/gnu-tar@1.29-2016.0.1.0 can be installed


Reject: 
pkg://openindiana.org/archiver/gnu-tar@1.29-2016.0.1.0:20161030T060719Z
Reason:  No version matching 'require' dependency 
SUNWcs@0.5.11-2016.0.1.15934 can be installed

  
  Reject: 
pkg://openindiana.org/SUNWcs@0.5.11-2016.0.1.15934:20161022T013215Z

 to
pkg://openindiana.org/SUNWcs@0.5.11-2016.1.1.16076:20161230T011218Z
  Reason:  This version is excluded by installed incorporation 
consolidation/osnet/osnet-incorporation@0.5.11-2016.0.0.15717

  


TIA

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


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2016-12-29 Thread Alexander Pyhalov

Hi.

On 29.12.2016 19:26, russell wrote:

Hi,

I have been able to perform updates using which I find does work.

# pkg refresh --full
# pkg update --be-name openindiana-hipster-NN



Try ' pkg update -v 
pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11-2016.1.1.8106:20161228T221154Z 
'.

Then pkg can say something interesting.


---
System Administrator of Southern Federal University Computer Center


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