I think the problem might be how you've specified the package, though IPS's output is rather cryptic in this case.

Trying to add "pkg:/sunstudio12u1" means you are attempting to add a pkg that is *exactly* named "sunstudio12u1". That package was renamed to "developer/sunstudio12u1" - so try specifying that instead.

- Keith

On 11/18/10 09:49 PM, Janie Lu wrote:
Hi there,

I'm hitting a pkg error when using DC to build an nv_151a based AI ISO. I specified in the manifest to additionally install "pkg:/sunstudio12u1". That pkg is not yet available in the "solaris" repo (ipkg.sfbay/dev/solaris) but I found it in the "opensolaris.org" repo (http://ipkg.sfbay.sun.com/dev) and thus added it to the list of publishers. Is that the wrong thing to do here?

Detailed Build Log:
http://re.west/gates/yf/builds/S11/yf-onnv-18.151a/images/manifests/detail-log-2010-11-18-16-55-01

----------------------------------------------------------
Setting preferred publisher: on-nightly
    Origin repository: http://mpkpen-ai-3.sfbay.sun.com/yf-on-nightly
Setting alternate publisher: on-extra
    Origin repository: http://mpkpen-ai-3.sfbay.sun.com/yf-on-extra
Setting alternate publisher: solaris
    Origin repository: http://ipkg.sfbay.sun.com/dev/solaris
Setting alternate publisher: opensolaris.org
    Origin repository: http://ipkg.sfbay.sun.com/dev

Verifying the contents of the IPS repository
exec command: /usr/bin/pkg -R /rpool/DC-yf-onnv-18.151a/build_data/pkg_image list -a pkg:/[email protected],5.11-0.151.0.1 pkg:/system/install/media/internal pkg:/auto_install pkg:/sunstudio12u1 NAME (PUBLISHER) VERSION STATE UFOXI auto_install (opensolaris.org) 0.1-0.150 known u---- auto_install (solaris) 0.1-0.152 known ----- entire (solaris) 0.5.11-0.151.0.1 known u---- sunstudio12u1 (opensolaris.org) 12.1.1-1 known --r-- system/install/media/internal (opensolaris.org) 0.5.11-0.150 known u---- system/install/media/internal (solaris) 0.5.11-0.152 known -----
Installing the designated packages
exec command: /usr/bin/pkg -R /rpool/DC-yf-onnv-18.151a/build_data/pkg_image install --no-index --accept pkg:/[email protected],5.11-0.151.0.1 pkg:/system/install/media/internal pkg:/auto_install pkg:/sunstudio12u1

pkg: No solution was found to satisfy constraints
---------------------------------------------------------

In trying to root cause this, I tried a "pkg install -v pkg:/sunstudio12u1" on a BE running nv_151a with the same 4 publishers set. It fails as shown below. I also noticed it's trying to install version 101 although I see version 111 is available using "pkg list -avf sunstudio12u1". So now I'm really lost.

# pkg install -v  pkg:/sunstudio12u1
Creating Plan -pkg: No solution was found to satisfy constraints
package solver error
attempted operation: install
proposed pkgs:
    sunstudio12u1
pkg://opensolaris.org/[email protected],5.11-0.101:20090617T231849Z
                    require: [email protected]
Requires one of: pkg://solaris/[email protected],5.11-0.133:20101027T184435Z (RENAMED)
                    require: [email protected]
Requires one of: pkg://solaris/[email protected],5.11-0.133:20101027T185425Z (RENAMED)
                    require: [email protected]
                                FAIL: No matching packages found
Ruled out pkg://opensolaris.org/[email protected],5.11-0.107:20090212T180106Z because: Publisher is lower ranked Ruled out pkg://opensolaris.org/[email protected],5.11-0.108:20090218T050628Z because: Publisher is lower ranked Ruled out pkg://opensolaris.org/[email protected],5.11-0.101:20081119T235009Z because: Publisher is lower ranked


Can someone kindly point out the error of my ways?

-Janie



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

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

Reply via email to