Having built ON in a local workspace, I want to be able to install
the one or two packages that contain the fix I am testing, without
having to do a complete pkg update with a new BE, etc.

Is this possible?  If so, what's the preferred method to do this?

To start:

# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
on-nightly     (non-sticky) origin   online F 
file:///data/workspaces/master-on11update/packages/i386/nightly-nd/repo.osnet/
...
solaris        (non-sticky) origin   online F 
http://localhost:10080/solaris11/dev/
...

# pkg info system/management/rad/module/rad-zonemgr
          Name: system/management/rad/module/rad-zonemgr
       Summary: RAD Zones module
   Description: RAD Zones module. See zonemgr(3rad) for details.
      Category: System/Administration and Configuration
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.21.0
Packaging Date: July 23, 2012 04:32:41 PM
          Size: 65.34 kB
          FMRI: 
pkg://solaris/system/management/rad/module/[email protected],5.11-0.175.1.0.0.21.0:20120723T163241Z

# pkg info -r system/management/rad/module/rad-zonemgr
          Name: system/management/rad/module/rad-zonemgr
       Summary: RAD Zones module
   Description: RAD Zones module. See zonemgr(3rad) for details.
      Category: System/Administration and Configuration
         State: Not installed
     Publisher: on-nightly
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.21.20044
Packaging Date: July 18, 2012 07:24:30 PM
          Size: 59.88 kB
          FMRI: 
pkg://on-nightly/system/management/rad/module/[email protected],5.11-0.175.1.0.0.21.20044:20120718T192430Z

First attempt:

# pkg install pkg://on-nightly/system/management/rad/module/rad-zonemgr
Creating Plan (Solver setup): \
pkg install: No matching version of system/management/rad/module/rad-zonemgr 
can be installed:
  Reject:  
pkg://on-nightly/system/management/rad/module/[email protected],5.11-0.175.1.0.0.21.20044:20120718T192430Z
  Reason:  This version is excluded by installed incorporation 
pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.1.0.0.21.0:20120723T161358Z

Next attempt:

# pkg change-facet version-lock.system/management/rad/module/rad-zonemgr=false
Creating Plan (Checking for conflicting actions):
            Packages to update: 978
     Variants/Facets to change:   1
       Create boot environment:  No
Create backup boot environment: Yes

PHASE                                          ITEMS
Updating image state                            Done
Creating fast lookup database                   Done
Reading search index                            Done
Building new search index                    978/978

But:

# pkg install pkg://on-nightly/system/management/rad/module/rad-zonemgr
Creating Plan (Solver setup): \
pkg install: No matching version of system/management/rad/module/rad-zonemgr 
can be installed:
  Reject:  
pkg://on-nightly/system/management/rad/module/[email protected],5.11-0.175.1.0.0.21.20044:20120718T192430Z
  Reason:  This version is excluded by installed incorporation 
pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.1.0.0.21.0:20120723T161358Z

Only other thought is to uninstall osnet-incorporation, but:

# pkg uninstall osnet-incorporation
Creating Plan (Solver setup): /pkg uninstall: Cannot remove 
'pkg://solaris/consolidation/osnet/[email protected],5.11-0.175.1.0.0.21.0:20120723T161358Z'
 due to the following packages that depend on it:
...

Is there a way to do this?

Thanks,

Steve

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

Reply via email to