The output of "install -v" is beyond a mere mortal like me.

So one thing to possibly try is divide-and-conquer.

Adjust your developer/solstudioex IPS package
definition and initially comment out all the "depend" and
"add depend" lines.

Then try:

  $ pfexec pkg install -nv pkg://bug9999/developer/solstudioex

Note the "n" there. A fake install. Just make sure the
last line of the output is not:

pkg: No solution was found to satisfy constraints

Hopefully that first attempt should work just fine.

Then reinstate some of the "depend" and "add depend" lines and see if it fails.

Then add/remove lines until you've isolated the line that's causing the problem.



-------- Original Message --------
Subject:        [pkg-discuss] new Studio packages, rename problems
Date:   Wed, 07 Apr 2010 07:45:15 -0700
From:   Chris Quenelle <[email protected]>
To:     pkg discuss <[email protected]>



I'm in the process of splitting the Solaris Studio package
into smaller packages, and renaming it from sunstudioexpress
to solstudioex.

I'm having trouble getting the rename to work.  When I install the
old named package, it refuses to install the new renamed package.
"sunstudioexpress" was recently renamed to "developer/sunstudioexpress",
and now I'm renaming that to "developer/solstudioex".

I think I've set up all the dependencies right for renaming a
package, but I get a pkg failure when it's supposed to
transition from an old package name to a newer one.

I'm not sure if there is a problem because the packages
are split between two servers.

I've included the new "Studio" file that I'm using.

Here's a URL to the output of "pkg install -v solstudioex"
when developer/sunstudioexpress is installed.

http://mediacast.sun.com/users/Chris_Quenelle/media/pkg.out.txt


---- to reproduce:

Start by not having any "sunstudioexpress" packages installed.

Here are my publishers:
% pkg publisher
PUBLISHER                             TYPE     STATUS   URI
bug9999                  (preferred)  origin   online   
http://tiaga.sfbay.sun.com:9999/
opensolaris.org                       origin   online   http://ipkg.sfbay/dev/
opensolaris.org                       mirror   online   
http://pkg-na-2.opensolaris.org/


try:
pfexec pkg install pkg://opensolaris.org/developer/sunstudioexpress
pfexec pkg install pkg://bug9999/developer/solstudioex

The second pkg install doesn't work.





_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to