Leslie H Wood wrote:
>
>
> Stephen Hahn wrote, On 02/18/09 12:38:
>> * Leslie H Wood <Leslie.Wood at Sun.COM> [2009-02-18 19:28]:
>>   
>>>    Stephen Hahn wrote, On 02/18/09 11:38:
>>>
>>>  * Leslie H Wood <Leslie.Wood at sun.com> [2009-02-18 18:21]:
>>>   
>>>
>>>  So if I read this correctly, the only way we can control what package
>>>  versions are used for both the OS and add on packages is through
>>>  maintaining separate repositories ?
>>>
>>>  Since Sun Mfg installs have a mix and match requirement for add on packages
>>>  we have a modular approach that installs the required OS version and then
>>>  the additional packages, netbeans, SSexp, LDOM etc as needed usually by a
>>>  part number.
>>>
>>>  I have been searching opensolaris.org for clues on how to do this...
>>>
>>>     
>>>>    Use the entire package, at some specific version, to constrain the
>>>>   installation to a particular build or release.
>>>>       
>>>    Can you expand on the above since I have found that "pkg install" only
>>>    uses the VALUE section
>>>
>>>    root at g-unit6:/var/tmp# pkg search -r netbeans
>>>
>>>  INDEX      ACTION    VALUE                     PACKAGE
>>>
>>>  description set       NetBeans                  pkg:/SUNWlibnb-apisupport1 
>>> at 6.1-0.86
>>>
>>>  description set       NetBeans                  pkg:/SUNWlibnb-apisupport1 
>>> at 6.0.1-0.86
>>>
>>>  description set       NetBeans                  pkg:/SUNWlibnb-apisupport1 
>>> at 6.0.1-0.86
>>>
>>>  description set       NetBeans                  pkg:/SUNWlibnb-apisupport1 
>>> at 6.0.1-0.86
>>>     
>>
>>    We will need to provide incorporations for the netbeans package, so
>>    that they get self-consistent sets of the component packages.  Those
>>    are not there at present.
>>
>>   
>
> Would that also explain why "pkg uninstall netbeans" does not remove 
> all it installs ?    I was going to put a bug call in on this after 
> checking for an existing one.    Sun Studio Express uninstall seems to 
> cleanup properly.
>
Not exactly, at least I don't think so. Essentially, you're encountering 
bug 1728 I believe. 
(http://defect.opensolaris.org/bz/show_bug.cgi?id=1728). The problem, to 
use the net beans example, that the netbeans depends on about 15 
packages, each of which may well further dependencies. For example, 
netbeans depends on SUNWj6rt which depends on SUNWcsl. So, when you type 
pkg uninstall netbeans, which dependencies should we remove, and how 
deep should we go (removing SUNWcsl would be a bad idea). Most likely, 
the "right thing" is to remove exactly the pkgs that were installed when 
you typed pkg install netbeans, assuming that no other packages now 
depend on a package in that set, and probably subject to several other 
restrictions as well that I haven't thought of.

Hope that helps explain why we haven't covered this case yet.

Brock


>>>    (This procedure will change in the future, but works at present.)
>>>
>>>    We need a long term solution though...  Any RT.M pointers also
>>>    appreciated.
>>>     
>>
>>    The aspect that would change is that we're pretty likely to blow up
>>    entire (into smaller pieces to support minimization).
>>
>>    - Stephen
>>
>>   
>
> -- 
> Les Wood
> Sun Microsystems
> Software Integration Engineering
> Office: 503-820-3834 x40075
>
> *******************************************************************************
>
> PRIVACY & CONFIDENTIALITY NOTICE: The information contained in this e-mail 
> and any attachments is intended for the named recipient(s) only, unless 
> otherwise waived in writing by me. It may contain privileged, proprietary 
> and/or confidential information. If you are not the intended recipient, you 
> must not copy, forward or distribute. If you have received this e-mail in 
> error, please notify me immediately.
>
> *******************************************************************************
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   


Reply via email to