Re: [oi-dev] Am I stuck?

2019-07-01 Thread Gary Mills
On Tue, Jun 25, 2019 at 08:42:41PM -0400, Richard Lowe wrote:
> Reason:  No version for 'require' dependency on system/mta can be found
> 
> Seems a leaf failure, does one really not exist?

Yes, that was the problem.  Package system/mta was missing.  When I
built and installed, it the update looked much better:

# pkg update -n   
Packages to remove:   3
   Packages to install:  10
Packages to update: 300
Packages to change:   1
   Mediators to change:   1
   Create boot environment: Yes
Create backup boot environment:  No

However, I was stymied by the next error when I tried an update in
the usual manner:

# pkg update --be-name oi-20190626

pkg update: Boot environment naming during package install is not supported 
on this
version of OpenSolaris. Please update without the --be-name option.

When I tried it as suggested, I got this error:

# pkg update 
Packages to remove:   3
   Packages to install:  10
Packages to update: 299
Packages to change:   1
   Mediators to change:   1
   Create boot environment: Yes
Create backup boot environment:  No

DOWNLOADPKGS FILESXFER (MB)   
SPEED
Completed313/313 8647/8647  111.4/111.4
0B/s

pkg: Unable to clone the current boot environment.

Finally, I used `beadm create' to do the clone, and `pkg -R /mnt
update' to do the update on the newly-created BE.  After I rebuilt the
boot archive on the clone and activated it, it booted nicely.  All of
the illumos-gate packages had been replaced with newly-published
versions.

I don't know what caused the boot environment naming problem.


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

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


Re: [oi-dev] Am I stuck?

2019-06-26 Thread Gary Mills
On Tue, Jun 25, 2019 at 08:42:41PM -0400, Richard Lowe wrote:
> Reason:  No version for 'require' dependency on system/mta can be found
> 
> Seems a leaf failure, does one really not exist?

Indeed, the package system/mta does not exist in either publisher.  I
just published it to oi-userland and installed it.  My next task is to
see if that missing package was preventing the update.


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

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


Re: [oi-dev] Am I stuck?

2019-06-25 Thread Richard Lowe
Reason:  No version for 'require' dependency on system/mta can be found

Seems a leaf failure, does one really not exist?

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


Re: [oi-dev] Am I stuck?

2019-06-25 Thread Norm Jacobs
You might look at the 'entire' package and see if it constrains the 
'osnet-incorporation to the older version.  That is most likely the 
cause of your trouble.  You can probably remove the 'entire' package and 
then update.  You might also be able to unlock the incorporation before 
upgrading instead.


    -Norm


On 6/25/19 3:47 PM, Gary Mills wrote:

These are my publishers:

 # pkg publisher
 PUBLISHER   TYPE STATUS P LOCATION
 oi-userland origin   online F 
file:///export/home/mills/Downloads/code/oi-userland/sparc/repo/
 v9os   (non-sticky) origin   online F file:///data/ips/

I just published all of illumos-gate to the oi-userland repository.
There are now two copies of the
consolidation/osnet/osnet-incorporation package.  This is the
installed one:

 # pkg info consolidation/osnet/osnet-incorporation
   Name: consolidation/osnet/osnet-incorporation
Summary: OS/Net consolidation incorporation
Description: This incorporation constrains packages from the OS/Net
 consolidation.
  State: Installed
  Publisher: v9os
Version: 0.5.11
 Branch: 0.151100
 Packaging Date: Wed Jul 27 07:12:37 2016
   Size: 0.00 B
   FMRI: 
pkg://v9os/consolidation/osnet/osnet-incorporation@0.5.11-0.151100:20160727T071237Z
 
This is the new one:


 # pkg info -r consolidation/osnet/osnet-incorporation
   Name: consolidation/osnet/osnet-incorporation
Summary: OS/Net consolidation incorporation
Description: This incorporation constrains packages from the OS/Net
 consolidation.
  State: Not installed
  Publisher: oi-userland
Version: 0.5.11
 Branch: 2018.0.0.0
 Packaging Date: Sun Jun 23 22:35:19 2019
   Size: 0.00 B
   FMRI: 
pkg://oi-userland/consolidation/osnet/osnet-incorporation@0.5.11-2018.0.0.0:20190623T223519Z

I expected that `pkg update -nv' would offer to remove the installed
incorporation and replace all of the old illumos-gate packages, over
200 of them, with the new illumos-gate packages.  It didn't do that.
It did report that it would replace ten packages from the v9os
publisher with newer versions from the oi-userland publisher, but this
list didn't include any of the illumos-gate packages.

When I tried to remove the incorporation with pkg, I got this result:

 # pkg uninstall -nv consolidation/osnet/osnet-incorporation
 Creating Plan (Solver setup): -
 pkg uninstall: Unable to remove 
'consolidation/osnet/osnet-incorporation@0.5.11-0.151100' due to the following 
packages that depend on it:
   SUNWcs@0.5.11-0.151100
   SUNWcsd@0.5.11-0.151100
   compatibility/ucb@0.5.11-0.151100
   developer/astdev@0.5.11-0.151100
 ...
   system/zones@0.5.11-0.151100
   system/zones/internal@0.5.11-0.151100
   text/doctools@0.5.11-0.151100
   text/locale@0.5.11-0.151100

Have I run into a dead end, or is there a way out of this dilemma?




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


Re: [oi-dev] Am I stuck?

2019-06-25 Thread Gary Mills
On Tue, Jun 25, 2019 at 11:01:31PM +0200, Volker A. Brandt wrote:
> 
> So it appears that pkg does not recognize the fact that version
> 0.5.11-2018.0.0.0:20190623T223519Z is newer than version
> 0.5.11-0.151100:20160727T071237Z -- correct?

I don't think that that is the problem.  Consider this transcript:

# pkg update -nv
...
Changed packages:
...
v9os -> oi-userland
  archiver/gnu-tar
1.28-0.151100 -> 1.29-2018.0.0.0
  compress/bzip2
1.0.6-0.151100 -> 1.0.6-2018.0.0.3
  compress/gzip
1.6-0.151100 -> 1.9-2018.0.0.0

The version numbers were the same for the last two packages.

> > When I tried to remove the incorporation with pkg, I got this result:
> [...]
> 
> I don't think that you are supposed to be able to remove the package
> altogether.  You should, hovewer, be able to update it.

That's close to working.  I should be able to make it work.
Here's this one:

# pkg update -nv pkg://oi-userland/consolidation/osnet/osnet-inco...
Creating Plan (Solver setup): \
pkg update: No matching version of consolidation/osnet/osnet-incorporation 
can be installed:
  Reject:  
pkg://oi-userland/consolidation/osnet/osnet-incorporation@0.5.11-2018.0.0.0
  Reason:  No version matching 'incorporate' dependency 
SUNWcs@0.5.11-2018.0.0.0 can be installed

Reject:  pkg://oi-userland/SUNWcs@0.5.11-2018.0.0.0
Reason:  No version matching 'require' dependency 
system/network/mailwrapper can be installed
  
  Reject:  
pkg://oi-userland/system/network/mailwrapper@0.5.11-2018.0.0.0
  Reason:  No version for 'require' dependency on system/mta can be 
found
  Reject:  pkg://v9os/system/network/mailwrapper@0.5.11-0.151100
  Reason:  Excluded by proposed incorporation 
'consolidation/osnet/osnet-incorporation'
  


> Do you also have an "entire" package?  If so, what version does it
> have?

No, I don't have that package.


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

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


Re: [oi-dev] Am I stuck?

2019-06-25 Thread Volker A. Brandt
Hi Gary!


> These are my publishers:
> 
> # pkg publisher  
> PUBLISHER   TYPE STATUS P LOCATION
> oi-userland origin   online F 
> file:///export/home/mills/Downloads/code/oi-userland/sparc/repo/
> v9os   (non-sticky) origin   online F file:///data/ips/
> 
> I just published all of illumos-gate to the oi-userland repository.
> There are now two copies of the
> consolidation/osnet/osnet-incorporation package.  This is the
> installed one:
> 
> # pkg info consolidation/osnet/osnet-incorporation
>   Name: consolidation/osnet/osnet-incorporation
>Summary: OS/Net consolidation incorporation
>Description: This incorporation constrains packages from the OS/Net
> consolidation.
>  State: Installed
>  Publisher: v9os
>Version: 0.5.11
> Branch: 0.151100
> Packaging Date: Wed Jul 27 07:12:37 2016
>   Size: 0.00 B
>   FMRI: 
> pkg://v9os/consolidation/osnet/osnet-incorporation@0.5.11-0.151100:20160727T071237Z
> 
> This is the new one:
> 
> # pkg info -r consolidation/osnet/osnet-incorporation
>   Name: consolidation/osnet/osnet-incorporation
>Summary: OS/Net consolidation incorporation
>Description: This incorporation constrains packages from the OS/Net
> consolidation.
>  State: Not installed
>  Publisher: oi-userland
>Version: 0.5.11
> Branch: 2018.0.0.0
> Packaging Date: Sun Jun 23 22:35:19 2019
>   Size: 0.00 B
>   FMRI: 
> pkg://oi-userland/consolidation/osnet/osnet-incorporation@0.5.11-2018.0.0.0:20190623T223519Z
> 
> I expected that `pkg update -nv' would offer to remove the installed
> incorporation and replace all of the old illumos-gate packages, over
> 200 of them, with the new illumos-gate packages.  It didn't do that.
> It did report that it would replace ten packages from the v9os
> publisher with newer versions from the oi-userland publisher, but this
> list didn't include any of the illumos-gate packages.

So it appears that pkg does not recognize the fact that version
0.5.11-2018.0.0.0:20190623T223519Z is newer than version
0.5.11-0.151100:20160727T071237Z -- correct?

> When I tried to remove the incorporation with pkg, I got this result:
[...]

I don't think that you are supposed to be able to remove the package
altogether.  You should, hovewer, be able to update it.

Do you also have an "entire" package?  If so, what version does it
have?


Regards -- Volker
-- 

Volker A. BrandtConsulting and Support for Solaris-based Systems
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"

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